mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 08:25:18 +01:00
fix scrolling bug
This commit is contained in:
parent
19a691e68d
commit
e290e7009e
@ -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]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user