Mercurial > mm7
diff UI/UIMainMenu.cpp @ 1631:8094f1706b1f
operator new() -> malloc
author | Nomad |
---|---|
date | Tue, 10 Sep 2013 21:17:00 +0200 |
parents | 75fafd8ced59 |
children | d65f6e73f213 bd28d08e2c75 |
line wrap: on
line diff
--- a/UI/UIMainMenu.cpp Tue Sep 10 21:08:43 2013 +0200 +++ b/UI/UIMainMenu.cpp Tue Sep 10 21:17:00 2013 +0200 @@ -297,7 +297,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,