mirror of
https://git.code.sf.net/p/newrpl/sources
synced 2024-11-16 19:51:25 +01:00
Fixed bug in Cmd Line height.
This commit is contained in:
parent
20ea78153b
commit
eb1b8998d9
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ void halSetCmdLineHeight(int h)
|
|||
else {
|
||||
// STACK AND FORMS ARE AT MINIMUM
|
||||
if(total>SCREEN_HEIGHT) {
|
||||
halScreen.CmdLine=SCREEN_HEIGHT-(halScreen.Form+halScreen.Stack+halScreen.Menu1+halScreen.Menu2);
|
||||
halScreen.CmdLine=SCREEN_HEIGHT-2-(halScreen.Form+halScreen.Stack+halScreen.Menu1+halScreen.Menu2);
|
||||
halScreen.CmdLine/=(*halScreen.FontArray[FONT_CMDLINE])->BitmapHeight;
|
||||
if(halScreen.CmdLine<1) halScreen.CmdLine=1;
|
||||
halScreen.CmdLine*=(*halScreen.FontArray[FONT_CMDLINE])->BitmapHeight;
|
||||
|
|
Loading…
Reference in a new issue