src/video/ps2gs/SDL_gsevents.c
branchgsoc2008_nds
changeset 2669 e27bdcc80744
parent 1895 c121d94672cb
child 2859 99210400e8b9
--- a/src/video/ps2gs/SDL_gsevents.c	Wed Apr 23 06:27:10 2008 +0000
+++ b/src/video/ps2gs/SDL_gsevents.c	Tue Jun 10 06:45:39 2008 +0000
@@ -479,9 +479,8 @@
                 if (select(fd + 1, &fdset, 0, 0, &tv) < 1) {
                     break;
                 }
-            }
-            while ((read(fd, &ch, sizeof(ch)) == sizeof(ch)) &&
-                   ((ch == 0xFA) || (ch == 0xAA)));
+            } while ((read(fd, &ch, sizeof(ch)) == sizeof(ch)) &&
+                     ((ch == 0xFA) || (ch == 0xAA)));
 
             /* Experimental values (Logitech wheelmouse) */
 #ifdef DEBUG_MOUSE
@@ -833,8 +832,7 @@
                 }
             }
         }
-    }
-    while (posted);
+    } while (posted);
 }
 
 void