Skip to content

Commit

Permalink
Fixed logic bug (thanks, Lionel!).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 7, 2013
1 parent c23b53b commit 463b227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simplesdl.c
Expand Up @@ -211,7 +211,7 @@ static void playfile(const char *fname)
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");
Expand Down

0 comments on commit 463b227

Please sign in to comment.