diff options
author | Matthew Hoops | 2012-04-07 16:35:50 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-04-07 16:35:50 -0400 |
commit | 1fb5238cf32a1fea07e26ba3693c7d6c97dd9023 (patch) | |
tree | abcc545f91987e94f7fe6a7fc4207ae7b786fd25 /engines | |
parent | a2454f6563d2a7e7eadb15668e8f2ff76a4a0a28 (diff) | |
download | scummvm-rg350-1fb5238cf32a1fea07e26ba3693c7d6c97dd9023.tar.gz scummvm-rg350-1fb5238cf32a1fea07e26ba3693c7d6c97dd9023.tar.bz2 scummvm-rg350-1fb5238cf32a1fea07e26ba3693c7d6c97dd9023.zip |
PEGASUS: Fix potentially uninitialized hotspot pointer
Should fix some crashes on Windows
Diffstat (limited to 'engines')
-rw-r--r-- | engines/pegasus/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/input.cpp b/engines/pegasus/input.cpp index ef9d9a6b8e..c60f00ddad 100644 --- a/engines/pegasus/input.cpp +++ b/engines/pegasus/input.cpp @@ -180,7 +180,7 @@ InputHandler *InputHandler::setInputHandler(InputHandler *currentHandler) { void InputHandler::pollForInput() { if (_inputHandler) { Input input; - Hotspot *cursorSpot; + Hotspot *cursorSpot = 0; InputHandler::getInput(input, cursorSpot); if (_inputHandler->isClickInput(input, cursorSpot)) |