Fixed logic bug (thanks, Lionel!).
authorRyan C. Gordon <icculus@icculus.org>
Sat, 06 Jul 2013 20:50:31 -0400
changeset 58 058686dc593f
parent 57 7b46b27f8aa7
child 59 6445337eabc2
Fixed logic bug (thanks, Lionel!).
test/simplesdl.c
--- a/test/simplesdl.c	Sat May 18 20:08:03 2013 -0400
+++ b/test/simplesdl.c	Sat Jul 06 20:50:31 2013 -0400
@@ -211,7 +211,7 @@
             if (!video)  // do nothing; we're far behind and out of options.
             {
                 static int warned = 0;
-                if (warned)
+                if (!warned)
                 {
                     warned = 1;
                     fprintf(stderr, "WARNING: Playback can't keep up!\n");