Use StatusLineFont for input font
This commit is contained in:
parent
ac15818a02
commit
31786942f9
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ local void ShowInput(void)
|
|||
sprintf(InputStatusLine, "MESSAGE:%s~!_", Input);
|
||||
input = InputStatusLine;
|
||||
// FIXME: This is slow!
|
||||
while (VideoTextLength(GameFont,input) > TheUI.StatusLine.Graphic->Width) {
|
||||
while (VideoTextLength(TheUI.StatusLineFont, input) >
|
||||
TheUI.StatusLine.Graphic->Width) {
|
||||
++input;
|
||||
}
|
||||
KeyState = KeyStateCommand;
|
||||
|
|
Loading…
Add table
Reference in a new issue