aboutsummaryrefslogtreecommitdiff
path: root/gui/console.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-05-23 14:06:52 +0000
committerTorbjörn Andersson2004-05-23 14:06:52 +0000
commit8b5f08efb6b50be0751d7cfa081b0329ac555f68 (patch)
tree2138929d47a719fba6f82c1980fdc6187dd9a20f /gui/console.h
parentcff4e1d49fd919dc8e0554beea930b02a7fcad90 (diff)
downloadscummvm-rg350-8b5f08efb6b50be0751d7cfa081b0329ac555f68.tar.gz
scummvm-rg350-8b5f08efb6b50be0751d7cfa081b0329ac555f68.tar.bz2
scummvm-rg350-8b5f08efb6b50be0751d7cfa081b0329ac555f68.zip
Applied patch #956989 ("Varous console fixes"). Fingolfin said it looked
ok, and as far as I can tell it does fix bugs #941811 and #941814, just as it promised. svn-id: r13849
Diffstat (limited to 'gui/console.h')
-rw-r--r--gui/console.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/console.h b/gui/console.h
index d59fb9c56f..7b5cef34ce 100644
--- a/gui/console.h
+++ b/gui/console.h
@@ -51,6 +51,7 @@ protected:
int _currentPos;
int _scrollLine;
+ int _firstLineInBuffer;
int _promptStartPos;
int _promptEndPos;
@@ -112,7 +113,7 @@ protected:
void putcharIntern(int c);
void insertIntoPrompt(const char *str);
void print(const char *str);
- void updateScrollBar();
+ void updateScrollBuffer();
void scrollToCurrent();
// Line editing