[Scummvm-cvs-logs] SF.net SVN: scummvm:[44398] scummvm/trunk/engines/sci/gfx/gfx_gui.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sun Sep 27 15:08:56 CEST 2009
Revision: 44398
http://scummvm.svn.sourceforge.net/scummvm/?rev=44398&view=rev
Author: wjpalenstijn
Date: 2009-09-27 13:08:56 +0000 (Sun, 27 Sep 2009)
Log Message:
-----------
SCI: Fix crash when opening menu's
Modified Paths:
--------------
scummvm/trunk/engines/sci/gfx/gfx_gui.cpp
Modified: scummvm/trunk/engines/sci/gfx/gfx_gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/gfx_gui.cpp 2009-09-27 13:05:50 UTC (rev 44397)
+++ scummvm/trunk/engines/sci/gfx/gfx_gui.cpp 2009-09-27 13:08:56 UTC (rev 44398)
@@ -175,7 +175,7 @@
win = new GfxPort(visual, area, color, bgcolor);
win->_font = font;
- win->_title_text = title;
+ win->_title_text = title ? title : "";
win->port_flags = flags;
win->_flags |= GFXW_FLAG_IMMUNE_TO_SNAPSHOTS;
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