diff src/video/bwindow/SDL_sysvideo.cc @ 2120:2c835d58faad

make indent
author Sam Lantinga <slouken@libsdl.org>
date Thu, 14 Jun 2007 13:21:29 +0000
parents 34a4d02b8db1
children e1da92da346c
line wrap: on
line diff
--- a/src/video/bwindow/SDL_sysvideo.cc	Thu Jun 14 06:32:36 2007 +0000
+++ b/src/video/bwindow/SDL_sysvideo.cc	Thu Jun 14 13:21:29 2007 +0000
@@ -372,7 +372,7 @@
         modes = SDL_modelist[((bpp + 7) / 8) - 1];
 
         bool exactmatch = false;
-        for ( uint32 x = 0; modes[x]; x++ ) {
+        for (uint32 x = 0; modes[x]; x++) {
             if (modes[x]->w == width && modes[x]->h == height) {
                 exactmatch = true;
                 i = x;
@@ -385,7 +385,8 @@
                 /* still looking */
             }
             if (!modes[i] || (modes[i]->w < width) || (modes[i]->h < height)) {
-                --i;                /* We went too far */
+                /* We went too far */
+                --i;
             }
         }
         width = modes[i]->w;