Mercurial > mm7
diff mm7_5.cpp @ 264:fb890fb66cad
^Pi[%s]%s
author | Ritor1 |
---|---|
date | Mon, 18 Feb 2013 12:51:51 +0600 |
parents | 8cf4fe6b4941 |
children | b34b53ee874d 1f0af5cac2dd |
line wrap: on
line diff
--- a/mm7_5.cpp Mon Feb 18 12:38:38 2013 +0600 +++ b/mm7_5.cpp Mon Feb 18 12:51:51 2013 +0600 @@ -3505,7 +3505,7 @@ goto _sprintex_2args_draw_status_and_continue; case UIMSG_ShowStatus_Player: pPlayer5 = pPlayers[uMessageParam]; - sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[429], pPlayer5->pName, pClassNames[pPlayer5->classType]);// "%s the %s" + sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[429], pPlayer5->pName, pClassNames[pPlayer5->classType]);// "%s the %s" strcat(pTmpBuf, ": "); v107 = pPlayer5->GetMajorConditionIdx(); strcat(pTmpBuf, aCharacterConditionNames[v107]); @@ -16096,7 +16096,7 @@ { v10 = v6->pName; v11 = pTmpBuf; - sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[429], v10, aNPCProfessionNames[v9]); + sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[429], v10, aNPCProfessionNames[v9]); } else {