[Scummvm-cvs-logs] SF.net SVN: scummvm:[33908] scummvm/branches/gsoc2008-gui/gui/newgui.cpp
Tanoku at users.sourceforge.net
Tanoku at users.sourceforge.net
Fri Aug 15 19:57:13 CEST 2008
Revision: 33908
http://scummvm.svn.sourceforge.net/scummvm/?rev=33908&view=rev
Author: Tanoku
Date: 2008-08-15 17:57:12 +0000 (Fri, 15 Aug 2008)
Log Message:
-----------
Bugfix: Screen not updating on theme/renderer change.
Modified Paths:
--------------
scummvm/branches/gsoc2008-gui/gui/newgui.cpp
Modified: scummvm/branches/gsoc2008-gui/gui/newgui.cpp
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/newgui.cpp 2008-08-15 17:53:18 UTC (rev 33907)
+++ scummvm/branches/gsoc2008-gui/gui/newgui.cpp 2008-08-15 17:57:12 UTC (rev 33908)
@@ -58,8 +58,6 @@
if (!g_gui.xmlEval()->getWidgetData(_name, _x, _y, _w, _h)) {
warning("Could not load widget position for '%s'", _name.c_str());
}
-
- return;
if (_x < 0)
error("Widget <%s> has x < 0: %d", _name.c_str(), _x);
@@ -425,6 +423,7 @@
// redrawn before redraw() has been called.
_redrawStatus = kRedrawFull;
redraw();
+ _system->updateScreen();
}
} // End of namespace GUI
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list