Commit 846a9ab95eb01dc19c39ae4be13b9601ac67f131

Ryan C. Gordon 2017-08-29T18:25:55

test: forgot to change a variable. Fixes Bugzilla #3787.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testautomation_sdltest.c b/test/testautomation_sdltest.c
index 399faf6..979756a 100644
--- a/test/testautomation_sdltest.c
+++ b/test/testautomation_sdltest.c
@@ -49,7 +49,7 @@ sdltest_generateRunSeed(void *arg)
   }
 
   /* Negative cases */
-  for (j = -2; j <= 0; i++) {   
+  for (j = -2; j <= 0; j++) {
      result = SDLTest_GenerateRunSeed((const int)j);
      SDLTest_AssertPass("Call to SDLTest_GenerateRunSeed()");
      SDLTest_AssertCheck(result == NULL, "Verify returned value is not NULL");