diff options
author | Einar Johan Trøan Sømåen | 2013-09-30 11:19:54 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-09-30 11:19:54 +0200 |
commit | ccd3258bdccaf7290137aea5b98889a9568547db (patch) | |
tree | d2b48a82ed49a5a55a465339f69a3b4b46ee2dab /engines/wintermute/ui/ui_window.cpp | |
parent | 12e7cb401f80d8e1dee1af67817333d897508dfb (diff) | |
download | scummvm-rg350-ccd3258bdccaf7290137aea5b98889a9568547db.tar.gz scummvm-rg350-ccd3258bdccaf7290137aea5b98889a9568547db.tar.bz2 scummvm-rg350-ccd3258bdccaf7290137aea5b98889a9568547db.zip |
WINTERMUTE: Use ; and not , to separate delete and new.
Diffstat (limited to 'engines/wintermute/ui/ui_window.cpp')
-rw-r--r-- | engines/wintermute/ui/ui_window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/ui/ui_window.cpp b/engines/wintermute/ui/ui_window.cpp index a54f7c5da1..da681b9153 100644 --- a/engines/wintermute/ui/ui_window.cpp +++ b/engines/wintermute/ui/ui_window.cpp @@ -400,8 +400,8 @@ bool UIWindow::loadBuffer(byte *buffer, bool complete) { break; case TOKEN_IMAGE_INACTIVE: - delete _imageInactive, - _imageInactive = new BaseSprite(_gameRef); + delete _imageInactive; + _imageInactive = new BaseSprite(_gameRef); if (!_imageInactive || DID_FAIL(_imageInactive->loadFile((char *)params))) { delete _imageInactive; _imageInactive = nullptr; |