Mercurial > mm7
diff UI/UIMainMenu.cpp @ 1669:bd28d08e2c75
Merge
author | Ritor1 |
---|---|
date | Tue, 17 Sep 2013 22:55:48 +0600 |
parents | d17247968bd6 8094f1706b1f |
children | 4bbb80c7dba7 |
line wrap: on
line diff
--- a/UI/UIMainMenu.cpp Tue Sep 17 22:55:34 2013 +0600 +++ b/UI/UIMainMenu.cpp Tue Sep 17 22:55:48 2013 +0600 @@ -293,7 +293,7 @@ pTexture2._allocation_flags = 0; pColor1 = TargetColor(0x70u, 0x8Fu, 0xFEu); pColor2 = TargetColor(0xECu, 0xE6u, 0x9Cu); - pString = (char *)operator new(2 * pSize); + pString = (char *)malloc(2 * pSize); strncpy(pString, ptr, pSize); pString[pSize]=0; pFontQuick->_44D2FD_prolly_draw_credits_entry(pFontCChar, 0, a2.uFrameHeight, (signed __int16)pTexture2.uWidth, (signed __int16)pTexture2.uHeight, pColor1,