aboutsummaryrefslogtreecommitdiff
path: root/engines/lab
diff options
context:
space:
mode:
authorFilippos Karapetis2015-12-27 22:55:38 +0200
committerFilippos Karapetis2015-12-27 22:55:38 +0200
commitbb34bc94eca65b3e5119dc278a250d5bc4744ad0 (patch)
treeadd48a6a2921afc5b9f1d707728bacf7875f99d6 /engines/lab
parenta7959a4ed4132c4a4f5ce7af5de1a8d075038395 (diff)
downloadscummvm-rg350-bb34bc94eca65b3e5119dc278a250d5bc4744ad0.tar.gz
scummvm-rg350-bb34bc94eca65b3e5119dc278a250d5bc4744ad0.tar.bz2
scummvm-rg350-bb34bc94eca65b3e5119dc278a250d5bc4744ad0.zip
LAB: Fix the shortcut keys for the journal buttons
Diffstat (limited to 'engines/lab')
-rw-r--r--engines/lab/special.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp
index 76b6cbbd1e..43d6056125 100644
--- a/engines/lab/special.cpp
+++ b/engines/lab/special.cpp
@@ -128,9 +128,9 @@ void LabEngine::loadJournalData() {
_journalTextTitle = _resource->getText("Lab:Rooms/jt");
Common::File *journalFile = _resource->openDataFile("P:JImage");
- _journalButtonList.push_back(_event->createButton( 80, _utils->vgaScaleY(162) + _utils->svgaCord(1), 0, Common::KEYCODE_LEFT, new Image(journalFile, this), new Image(journalFile, this))); // back
- _journalButtonList.push_back(_event->createButton(194, _utils->vgaScaleY(162) + _utils->svgaCord(1), 2, Common::KEYCODE_ESCAPE, new Image(journalFile, this), new Image(journalFile, this))); // cancel
- _journalButtonList.push_back(_event->createButton(144, _utils->vgaScaleY(164) - _utils->svgaCord(1), 1, Common::KEYCODE_RIGHT, new Image(journalFile, this), new Image(journalFile, this))); // forward
+ _journalButtonList.push_back(_event->createButton( 80, _utils->vgaScaleY(162) + _utils->svgaCord(1), 0, Common::KEYCODE_LEFT, new Image(journalFile, this), new Image(journalFile, this))); // back
+ _journalButtonList.push_back(_event->createButton(194, _utils->vgaScaleY(162) + _utils->svgaCord(1), 2, Common::KEYCODE_RIGHT, new Image(journalFile, this), new Image(journalFile, this))); // forward
+ _journalButtonList.push_back(_event->createButton(144, _utils->vgaScaleY(164) - _utils->svgaCord(1), 1, Common::KEYCODE_ESCAPE, new Image(journalFile, this), new Image(journalFile, this))); // cancel
delete journalFile;
_anim->_noPalChange = true;