diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index 5d5b7d3bda..a0902cfe7a 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -127,6 +127,8 @@ void Window::openDialog(const char *title, int tileIndex, const char *string, in if (_dialogInfo.active) return; + memset(&_dialogInfo, 0, sizeof(_dialogInfo)); + _dialogInfo.tileIndex = tileIndex; strcpy(_dialogInfo.title, title); _dialogInfo.active = true; |