Remove a lot of warnings from MusicMod.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3509 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
death2droid
2009-06-20 11:31:26 +00:00
parent 8cf11ff58a
commit 09d5313410
8 changed files with 9 additions and 19 deletions

View File

@ -97,7 +97,7 @@ bool GenPlugin::Load()
{
// Note: The prefix is not removed to hide their
// origin at Nullsoft! It just reads easier.
if( !strnicmp( plugin->description, "nullsoft ", 9 ) )
if( !_strnicmp( plugin->description, "nullsoft ", 9 ) )
{
plugin->description += 9;
}
@ -106,7 +106,7 @@ bool GenPlugin::Load()
char * walk = plugin->description + strlen( plugin->description ) - 5;
while( true )
{
if( ( walk <= plugin->description ) || strnicmp( walk, ".dll)", 5 ) ) break;
if( ( walk <= plugin->description ) || _strnicmp( walk, ".dll)", 5 ) ) break;
while( ( walk > plugin->description ) && ( *walk != '(' ) ) walk--;
if( walk <= plugin->description ) break;
walk--;