diff options
-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; |