mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-28 03:31:49 +01:00
fix scrolling bug
This commit is contained in:
parent
67708f6301
commit
e92a333f17
@ -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