Message fix
This commit is contained in:
parent
bd8d8b53a3
commit
70f625d211
@ -387,12 +387,11 @@ CMessages::InsertNumberInString(wchar *str, int32 n1, int32 n2, int32 n3, int32
|
|||||||
if (str[c] == '~' && str[c + 1] == '1' && str[c + 2] == '~') {
|
if (str[c] == '~' && str[c + 1] == '1' && str[c + 2] == '~') {
|
||||||
#endif
|
#endif
|
||||||
c += 3;
|
c += 3;
|
||||||
for (int j = 0; j < outLen; j++)
|
for (int j = 0; j < outLen; )
|
||||||
*(outstr++) = wNumStr[j++];
|
*(outstr++) = wNumStr[j++];
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
switch (i) {
|
switch (i) {
|
||||||
case 0: sprintf(numStr, "%d", n1); break;
|
|
||||||
case 1: sprintf(numStr, "%d", n2); break;
|
case 1: sprintf(numStr, "%d", n2); break;
|
||||||
case 2: sprintf(numStr, "%d", n3); break;
|
case 2: sprintf(numStr, "%d", n3); break;
|
||||||
case 3: sprintf(numStr, "%d", n4); break;
|
case 3: sprintf(numStr, "%d", n4); break;
|
||||||
|
Loading…
Reference in New Issue
Block a user