diff options
author | Max Horn | 2003-07-07 22:33:07 +0000 |
---|---|---|
committer | Max Horn | 2003-07-07 22:33:07 +0000 |
commit | 58486149a9e5beafc0b56e3f6c48d8a8bf3c7c78 (patch) | |
tree | 3dcac734ee3e28eeb77ece098c2053151f583cc2 /scumm/dialogs.cpp | |
parent | b5a42396e7d0807c41f6ae6475b40ac67177d775 (diff) | |
download | scummvm-rg350-58486149a9e5beafc0b56e3f6c48d8a8bf3c7c78.tar.gz scummvm-rg350-58486149a9e5beafc0b56e3f6c48d8a8bf3c7c78.tar.bz2 scummvm-rg350-58486149a9e5beafc0b56e3f6c48d8a8bf3c7c78.zip |
fix for bug #766119: help screen: '.' is listed incorrectly
svn-id: r8848
Diffstat (limited to 'scumm/dialogs.cpp')
-rw-r--r-- | scumm/dialogs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index d21defda32..19890f29d8 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -602,8 +602,7 @@ HelpDialog::HelpDialog(NewGui *gui, Scumm *scumm) : ScummDialog(gui, scumm, 15, 10, 290, 184) { _page = 1; - _gameId = scumm->_gameId; - _numPages = ScummHelp::numPages(_gameId); + _numPages = ScummHelp::numPages(scumm->_gameId); _prevButton = addPushButton(10, 160, "Previous", kPrevCmd, 'P'); _nextButton = addPushButton(90, 160, "Next", kNextCmd, 'N'); @@ -622,7 +621,7 @@ HelpDialog::HelpDialog(NewGui *gui, Scumm *scumm) void HelpDialog::displayKeyBindings() { String titleStr, *keyStr, *dscStr; - ScummHelp::updateStrings(_gameId, _page, titleStr, keyStr, dscStr); + ScummHelp::updateStrings(_scumm->_gameId, _scumm->_version, _page, titleStr, keyStr, dscStr); _title->setLabel(titleStr); for (int i = 0; i < HELP_NUM_LINES; i++) { |