Fix error in --debug-handlers printing

Was missing else block (and also missing newline character). Caused by e672e7a070.
This commit is contained in:
Julian Eisel 2016-09-12 18:39:25 +02:00
parent 91eb1c2e2a
commit 620724d5e2
Notes: blender-bot 2023-02-14 08:49:53 +01:00
Referenced by issue #49338, Export to OBJ add extra space to the texture file name on MTL file.
1 changed files with 5 additions and 3 deletions

View File

@ -2032,11 +2032,13 @@ static int wm_handlers_do_intern(bContext *C, wmEvent *event, ListBase *handlers
break;
}
else {
if (action & WM_HANDLER_HANDLED)
if (action & WM_HANDLER_HANDLED) {
if (G.debug & (G_DEBUG_EVENTS | G_DEBUG_HANDLERS))
printf("%s: handled - and pass on! '%s'\n", __func__, kmi->idname);
PRINT("%s: un-handled '%s'...", __func__, kmi->idname);
}
else {
PRINT("%s: un-handled '%s'\n", __func__, kmi->idname);
}
}
}
}