From 85c3a1013b4232d2b51cf937e63d12d3ddce17e5 Mon Sep 17 00:00:00 2001 From: Laurent Carlier Date: Thu, 4 Sep 2008 21:49:22 +0000 Subject: [PATCH] small cleanup and first test of git-svn ! git-svn-id: svn://localhost/gambas/trunk@1540 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.sdl/src/SDLgfx.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gb.sdl/src/SDLgfx.cpp b/gb.sdl/src/SDLgfx.cpp index 0bf282e67..ff19f35a2 100644 --- a/gb.sdl/src/SDLgfx.cpp +++ b/gb.sdl/src/SDLgfx.cpp @@ -607,9 +607,8 @@ static int power_of_two(int input) int value = 1; while ( value < input ) - { value <<= 1; - } + return value; }