diff options
author | Eugene Sandulenko | 2017-08-18 19:04:37 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-18 19:04:37 +0200 |
commit | bedbe39087531a4ee5d1a9a58e63b7f200426172 (patch) | |
tree | 979306d524288f5e5dd70a661ee856a8a6391969 /graphics/macgui/macwindow.cpp | |
parent | bc8b952d7169820213551dcdacccbebb66e1d84a (diff) | |
download | scummvm-rg350-bedbe39087531a4ee5d1a9a58e63b7f200426172.tar.gz scummvm-rg350-bedbe39087531a4ee5d1a9a58e63b7f200426172.tar.bz2 scummvm-rg350-bedbe39087531a4ee5d1a9a58e63b7f200426172.zip |
GRAPHICS: MACGUI: Fix MacTextWindow dragging and resizing
Diffstat (limited to 'graphics/macgui/macwindow.cpp')
-rw-r--r-- | graphics/macgui/macwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/macgui/macwindow.cpp b/graphics/macgui/macwindow.cpp index 227f789d30..7b9afa4157 100644 --- a/graphics/macgui/macwindow.cpp +++ b/graphics/macgui/macwindow.cpp @@ -459,7 +459,9 @@ bool MacWindow::processEvent(Common::Event &event) { _draggedY = event.mouse.y; _wm->setFullRefresh(true); - (*_callback)(click, event, _dataPtr); + + if (_callback) + (*_callback)(click, event, _dataPtr); } break; case Common::EVENT_LBUTTONDOWN: |