fix scrolling bug

This commit is contained in:
dborth 2010-04-17 20:15:04 +00:00
parent 19a691e68d
commit e290e7009e

View File

@ -367,7 +367,6 @@ void GuiText::Draw()
} }
wcsncpy(textDyn[0], &text[textScrollPos], maxChar-1); wcsncpy(textDyn[0], &text[textScrollPos], maxChar-1);
textDyn[maxChar-1] = 0;
u32 dynlen = wcslen(textDyn[0]); u32 dynlen = wcslen(textDyn[0]);