Minor change in CustomizedGuiManager::onProcessMessage()

This commit is contained in:
David Capello 2016-11-21 17:59:09 -03:00
parent b6076e6732
commit 54da860a00

View File

@ -389,7 +389,7 @@ bool CustomizedGuiManager::onProcessMessage(Message* msg)
// Ctrl+Shift+Q generates a crash (useful to test the anticrash feature)
if (msg->ctrlPressed() &&
msg->shiftPressed() &&
static_cast<KeyMessage*>(msg)->scancode() == kKeyQ) {
keymsg->scancode() == kKeyQ) {
int* p = nullptr;
*p = 0;
}