diff options
author | Willem Jan Palenstijn | 2009-09-27 13:08:56 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-09-27 13:08:56 +0000 |
commit | 4d31d0d7251aafe6608ab134dbcf1541c10a6895 (patch) | |
tree | 854661605555915ee244829d23d5a59202426e2f /engines/sci | |
parent | 08e4d96a7d044cca5075b00ee82faa3babaa477a (diff) | |
download | scummvm-rg350-4d31d0d7251aafe6608ab134dbcf1541c10a6895.tar.gz scummvm-rg350-4d31d0d7251aafe6608ab134dbcf1541c10a6895.tar.bz2 scummvm-rg350-4d31d0d7251aafe6608ab134dbcf1541c10a6895.zip |
SCI: Fix crash when opening menu's
svn-id: r44398
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/gfx/gfx_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_gui.cpp b/engines/sci/gfx/gfx_gui.cpp index 6deb01b1c2..d2137b4b4e 100644 --- a/engines/sci/gfx/gfx_gui.cpp +++ b/engines/sci/gfx/gfx_gui.cpp @@ -175,7 +175,7 @@ GfxPort *sciw_new_window(EngineState *s, 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; |