Man sollte strncmp() auch richtig anwenden

This commit is contained in:
Yamagi Burmeister 2010-11-27 11:19:59 +00:00
parent 8af8dd1559
commit e57aba66c1
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ OGG_OpenName ( char *filename )
int i; /* Loop counter. */
/* If the track name is '00' stop playback */
if (strncmp(filename, "00", sizeof(char) * 3))
if (!strncmp(filename, "00", sizeof(char) * 3))
{
OGG_PauseCmd();
return ( false );