[Scummvm-git-logs] scummvm master -> 89d74b4784e41eb2cf3cf4494d45844d61045fb8
lotharsm
mail at serra.me
Sun May 17 19:55:06 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
89d74b4784 GUI: Improve error message regarding errors while loading widget positions
Commit: 89d74b4784e41eb2cf3cf4494d45844d61045fb8
https://github.com/scummvm/scummvm/commit/89d74b4784e41eb2cf3cf4494d45844d61045fb8
Author: Lothar Serra Mari (mail at serra.me)
Date: 2020-05-17T21:53:28+02:00
Commit Message:
GUI: Improve error message regarding errors while loading widget positions
Thank you for the suggestion, @trembyle!
Changed paths:
gui/object.cpp
diff --git a/gui/object.cpp b/gui/object.cpp
index e9d2c4b19a..cc1ac4757d 100644
--- a/gui/object.cpp
+++ b/gui/object.cpp
@@ -43,7 +43,7 @@ void GuiObject::reflowLayout() {
int16 w, h;
if (!g_gui.xmlEval()->getWidgetData(_name, _x, _y, w, h) || w == -1 || h == -1) {
- error("Could not load widget position for '%s'", _name.c_str());
+ error("Unable to load widget position for '%s'. Please check your theme files", _name.c_str());
}
_w = w;
_h = h;
More information about the Scummvm-git-logs
mailing list