mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-16 17:11:03 +00:00
Man sollte strncmp() auch richtig anwenden
This commit is contained in:
parent
8af8dd1559
commit
e57aba66c1
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue