From 1a10cacfb900c822ef5a53f455af7874675d37c5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 4 Aug 2006 13:55:53 +0000 Subject: Renamed handleScreenChanged() -> reflowLayout() in the GUI code svn-id: r23662 --- gui/console.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gui/console.cpp') diff --git a/gui/console.cpp b/gui/console.cpp index 464216a0ad..a8ad636761 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -162,7 +162,7 @@ void ConsoleDialog::open() { // the console, or even outright crashes. This means _scrollLine is not // preserved, but that's a tiny sacrifice. - handleScreenChanged(); + reflowLayout(); Dialog::open(); if (_promptStartPos == -1) { @@ -214,7 +214,7 @@ void ConsoleDialog::drawLine(int line, bool restoreBg) { } } -void ConsoleDialog::handleScreenChanged() { +void ConsoleDialog::reflowLayout() { init(); _scrollLine = _promptEndPos / kLineWidth; @@ -222,7 +222,7 @@ void ConsoleDialog::handleScreenChanged() { _scrollLine = _linesPerPage - 1; updateScrollBuffer(); - Dialog::handleScreenChanged(); + Dialog::reflowLayout(); draw(); } -- cgit v1.2.3