[APITEST:USER32]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 3 May 2014 17:08:39 +0000 (17:08 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 3 May 2014 17:08:39 +0000 (17:08 +0000)
Fix problematic for() loops.
Patch by Victor Martinez Calvo, thanks :)
ROSTESTS-136 #resolve

svn path=/trunk/; revision=63133

rostests/apitests/user32/AttachThreadInput.c

index 979851f..8f77b4d 100644 (file)
@@ -217,9 +217,9 @@ static void cleanup_attachments()
     int i,j;
     BOOL ret;
 
-    for(i = 0; i< 4; i++);
+    for(i = 0; i< 4; i++)
     {
-        for(j = 0; j< 4; j++);
+        for(j = 0; j< 4; j++)
         {
             ret = AttachThreadInput(data[i].tid,data[j].tid, FALSE);
             ok(ret==0, "expected AttachThreadInput to fail\n");