mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-19 06:40:42 +00:00
Avoid unused variable warning
This commit is contained in:
parent
cb81ec053a
commit
33d6ffb73b
@ -383,9 +383,9 @@ bool CustomizedGuiManager::onProcessMessage(Message* msg)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case kKeyDownMessage: {
|
case kKeyDownMessage: {
|
||||||
|
#ifdef _DEBUG
|
||||||
auto keymsg = static_cast<KeyMessage*>(msg);
|
auto keymsg = static_cast<KeyMessage*>(msg);
|
||||||
|
|
||||||
#ifdef _DEBUG
|
|
||||||
// Ctrl+Shift+Q generates a crash (useful to test the anticrash feature)
|
// Ctrl+Shift+Q generates a crash (useful to test the anticrash feature)
|
||||||
if (msg->ctrlPressed() &&
|
if (msg->ctrlPressed() &&
|
||||||
msg->shiftPressed() &&
|
msg->shiftPressed() &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user