aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/gui.cpp
diff options
context:
space:
mode:
authorBorja Lorente2016-08-16 10:40:46 +0200
committerBorja Lorente2016-08-19 16:30:23 +0200
commitb1eb6da6fab27b215ffd339ccef7e43169ad0a17 (patch)
tree5c8218e2ae84e6fe27bb419d6065bf428b07d934 /engines/macventure/gui.cpp
parent234a3b95a29e3ec11c9c02a2435bf42829550cce (diff)
downloadscummvm-rg350-b1eb6da6fab27b215ffd339ccef7e43169ad0a17.tar.gz
scummvm-rg350-b1eb6da6fab27b215ffd339ccef7e43169ad0a17.tar.bz2
scummvm-rg350-b1eb6da6fab27b215ffd339ccef7e43169ad0a17.zip
MACVENTURE: Add prefixes to error messages
Diffstat (limited to 'engines/macventure/gui.cpp')
-rw-r--r--engines/macventure/gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/macventure/gui.cpp b/engines/macventure/gui.cpp
index 310cf92443..264e577792 100644
--- a/engines/macventure/gui.cpp
+++ b/engines/macventure/gui.cpp
@@ -152,21 +152,21 @@ void Gui::initGUI() {
// Menu
_menu = _wm.addMenu();
if (!loadMenus())
- error("Could not load menus");
+ error("GUI: Could not load menus");
_menu->setCommandsCallback(menuCommandsCallback, this);
_menu->calcDimensions();
loadGraphics();
if (!loadWindows())
- error("Could not load windows");
+ error("GUI: Could not load windows");
initWindows();
assignObjReferences();
if (!loadControls())
- error("Could not load controls");
+ error("GUI: Could not load controls");
draw();
@@ -960,7 +960,7 @@ WindowData & Gui::findWindowData(WindowReference reference) {
if (iter->refcon == reference)
return *iter;
- error("Could not locate the desired window data");
+ error("GUI: Could not locate the desired window data");
}
Graphics::MacWindow * Gui::findWindow(WindowReference reference) {