svn-id: r8147
This commit is contained in:
Oliver Kiehl 2003-05-30 16:01:07 +00:00
parent 5725ee392a
commit 32e4e1aa51

View File

@ -358,8 +358,8 @@ lowTextManager_t SkyText::lowTextManager(uint32 textNum, uint16 width, uint16 lo
cpt->flag = (uint16)(compactNum - FIRST_TEXT_COMPACT) + FIRST_TEXT_BUFFER;
byte *oldText = (byte *)SkyState::_itemList[compactNum];
SkyState::_itemList[compactNum] = (void **)textData;
byte *oldText = (byte *)SkyState::_itemList[cpt->flag];
SkyState::_itemList[cpt->flag] = (void **)textData;
if (oldText != NULL)
free (oldText);