diff GUIWindow.cpp @ 99:b7ff791b1333

spells tab fix, small fixes
author zipi
date Thu, 07 Feb 2013 21:02:19 +0000
parents 377535d6e366
children 1c471f3629fb
line wrap: on
line diff
--- a/GUIWindow.cpp	Thu Feb 07 15:25:44 2013 +0600
+++ b/GUIWindow.cpp	Thu Feb 07 21:02:19 2013 +0000
@@ -906,9 +906,9 @@
   {
     pTextures_5064A0[i] = pIcons_LOD->LoadTexturePtr(texNames[i], TEXTURE_16BIT_PALETTE);
 
-    sprintf(pTmpBuf, "tab%da", i);
+    sprintf(pTmpBuf, "tab%da", i+1);
     pTextures_tabs[i][0] = pIcons_LOD->LoadTexturePtr(pTmpBuf, TEXTURE_16BIT_PALETTE);
-    sprintf(pTmpBuf, "tab%db", i);
+    sprintf(pTmpBuf, "tab%db", i+1);
     pTextures_tabs[i][1] = pIcons_LOD->LoadTexturePtr(pTmpBuf, TEXTURE_16BIT_PALETTE);
   }
 }