Mercurial > mm7
diff GUIFont.cpp @ 71:2b90f29892ae
ESC menu fixed
popups fixed
author | zipi |
---|---|
date | Sun, 27 Jan 2013 14:15:50 +0000 |
parents | 5629105aa178 |
children | bb06c087cd38 |
line wrap: on
line diff
--- a/GUIFont.cpp Sun Jan 27 12:10:43 2013 +0000 +++ b/GUIFont.cpp Sun Jan 27 14:15:50 2013 +0000 @@ -108,8 +108,8 @@ unsigned int v15; // edx@9 unsigned __int16 v16; // cx@12 unsigned __int8 *v17; // eax@12 - char Dest; // [sp+Ch] [bp-1Ch]@16 - char v19; // [sp+11h] [bp-17h]@16 + char Dest[20]; // [sp+Ch] [bp-1Ch]@16 + //char v19; // [sp+11h] [bp-17h]@16 size_t v20; // [sp+20h] [bp-8h]@2 int v21; // [sp+24h] [bp-4h]@1 int uXa; // [sp+30h] [bp+8h]@9 @@ -160,9 +160,9 @@ } else { - strncpy(&Dest, &Str[v6 + 1], 5u); - v19 = 0; - v21 = atoi(&Dest); + strncpy(Dest, &Str[v6 + 1], 5u); + Dest[5] = 0; + v21 = atoi(Dest); ui_current_text_color = v21; v6 += 5; }