mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
SAGA2: Init text blinking on creation. CID 1457865
This commit is contained in:
parent
98da4283c7
commit
6c7bc55138
@ -183,6 +183,7 @@ gTextBox::gTextBox(
|
||||
cursorPos = anchorPos = scrollPixels = 0;
|
||||
undoBuffer = new char[maxLen + 1]();
|
||||
textFont = font;
|
||||
oldFont = nullptr;
|
||||
fontHeight = height;
|
||||
fontOffset = fontHeight + 2;
|
||||
|
||||
@ -206,6 +207,10 @@ gTextBox::gTextBox(
|
||||
selected = 0;
|
||||
parent = &list;
|
||||
|
||||
blinkStart = 0;
|
||||
blinkX = 0;
|
||||
blinkState = 0;
|
||||
|
||||
// set the filedStrings pointer
|
||||
fieldStrings = stringBufs;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user