diff mm7_3.cpp @ 1104:5d5c78088274

strcmpi to stricmp conversion
author Grumpy7
date Mon, 27 May 2013 21:37:14 +0200
parents 8b59f13c9c3e
children cf6cd674c398
line wrap: on
line diff
--- a/mm7_3.cpp	Mon May 27 21:30:40 2013 +0200
+++ b/mm7_3.cpp	Mon May 27 21:37:14 2013 +0200
@@ -12176,7 +12176,7 @@
                 v14 = v13;
                 if ( v13 )
                 {
-                  if ( _strcmpi(v13, "") )
+                  if ( _stricmp(v13, "") )
                     v17 = v14;
                 }
               }
@@ -12670,7 +12670,7 @@
     {
       if ( *((_WORD *)v4 + 9) == v6 )
       {
-        if ( pFileName && _strcmpi(pFileName, "0") )
+        if ( pFileName && _stricmp(pFileName, "0") )
         {
           v5 = pDecorationList->GetDecorIdByName(pFileName);
           *((_WORD *)v4 - 1) = v5;
@@ -12701,7 +12701,7 @@
   if ( pName && (uID = 1, (signed int)this->uNumDecorations > 1) )
   {
     v4 = 1;
-    while ( _strcmpi(pName, v2->pDecorations[v4].pName) )
+    while ( _stricmp(pName, v2->pDecorations[v4].pName) )
     {
       ++uID;
       ++v4;
@@ -13722,7 +13722,7 @@
   v2 = pMapName;
   pAudioPlayer->StopChannels(-1, -1);
   pGameLoadingUI_ProgressBar->Initialize(GUIProgressBar::TYPE_None);
-  if ( _strcmpi(pCurrentMapName, v2) )
+  if ( _stricmp(pCurrentMapName, v2) )
     SaveGame(1, 0);
 
   uGameState = GAME_STATE_2;
@@ -13960,7 +13960,7 @@
 {
   bool result; // eax@1
 
-  result = _strcmpi("nwc.blv", pCurrentMapName);
+  result = _stricmp("nwc.blv", pCurrentMapName);
   if ( result )
   {
     _5B65A8_npcdata_uflags_or_other = 0;