Fix clang warning by grouping conditions to actually catch ctrl-q (#14402)

This commit is contained in:
rim
2018-05-26 22:49:27 +02:00
committed by Landry Breuil
parent dff8c3e071
commit c1fd3a9d08

View File

@@ -395,7 +395,7 @@ xtm_process_window_key_pressed (XtmProcessWindow *window, GdkEventKey *event)
gboolean ret = FALSE;
if (event->keyval == GDK_KEY_Escape ||
event->keyval == GDK_KEY_q && (event->state & GDK_CONTROL_MASK)) {
(event->keyval == GDK_KEY_q && (event->state & GDK_CONTROL_MASK))) {
emit_delete_event_signal (window, (GdkEvent*) event);
ret = TRUE;
}