Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Console: fix drawing

  • Loading branch information...
commit 885a25fdceff3e38a4b64402861ce79897c7eb5c 1 parent c829b22
Brad Allred bradallred authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 gemrb/core/Interface.cpp
4 gemrb/core/Interface.cpp
View
@@ -1895,7 +1895,7 @@ int Interface::Init(InterfaceConfig* config)
Log(MESSAGE, "Core", "Setting up the Console...");
QuitFlag = QF_CHANGESCRIPT;
- console = new Console(Region(0, (Height - 25), Width, 25));
+ console = new Console(Region(0, 0, Width, 25));
if (fonts.size() > 0) {
console->SetFont( fonts[0] );
}
@@ -3302,7 +3302,7 @@ void Interface::DrawWindows(bool allow_delete)
// draw the console
if (ConsolePopped) {
- console->Draw( 0, (Height * -1) + console->ControlFrame().h);
+ console->Draw(0, 0);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.