Use if (condition) something; else something-else; instead of if (condition) something; if (!condition) something-else;
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5329 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
da0b168df3
commit
1c6ff360db
|
@ -146,10 +146,11 @@ const char* PlayList_NextSong()
|
|||
{
|
||||
currentSong = currentSong->next;
|
||||
}
|
||||
if (!currentSong)
|
||||
else
|
||||
{
|
||||
currentSong = songList;
|
||||
}
|
||||
|
||||
return PlayList_CurrentSong();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue