[Scummvm-cvs-logs] CVS: scummvm/gui console.cpp,1.73,1.74
Max Horn
fingolfin at users.sourceforge.net
Wed Feb 1 08:41:04 CET 2006
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/gui ListWidget.cpp,1.63,1.64 PopUpWidget.cpp,1.43,1.44 ThemeNew.cpp,1.18,1.19 theme.h,1.6,1.7 widget.cpp,1.58,1.59 widget.h,1.50,1.51
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gui PopUpWidget.cpp,1.44,1.45 ThemeNew.cpp,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1704
Modified Files:
console.cpp
Log Message:
Patch #1420942 (console page down fix)
Index: console.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/console.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- console.cpp 31 Jan 2006 20:19:47 -0000 1.73
+++ console.cpp 1 Feb 2006 16:40:17 -0000 1.74
@@ -312,8 +312,11 @@
case 256 + 25: // pagedown
if (modifiers == OSystem::KBD_SHIFT) {
_scrollLine += _linesPerPage - 1;
- if (_scrollLine > _promptEndPos / _lineWidth)
+ if (_scrollLine > _promptEndPos / _lineWidth) {
_scrollLine = _promptEndPos / _lineWidth;
+ if (_scrollLine < _firstLineInBuffer + _linesPerPage - 1)
+ _scrollLine = _firstLineInBuffer + _linesPerPage - 1;
+ }
updateScrollBuffer();
draw();
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/gui ListWidget.cpp,1.63,1.64 PopUpWidget.cpp,1.43,1.44 ThemeNew.cpp,1.18,1.19 theme.h,1.6,1.7 widget.cpp,1.58,1.59 widget.h,1.50,1.51
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gui PopUpWidget.cpp,1.44,1.45 ThemeNew.cpp,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list