From abab0b0fdd6535969447b03a4fffc1947918cf6c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 Mar 2019 18:47:01 +0100 Subject: patch 8.1.1086: too many curly braces Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982) --- src/gui_photon.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/gui_photon.c') diff --git a/src/gui_photon.c b/src/gui_photon.c index 94012287e7..d7731853bf 100644 --- a/src/gui_photon.c +++ b/src/gui_photon.c @@ -451,9 +451,7 @@ gui_ph_handle_keyboard(PtWidget_t *widget, void *data, PtCallbackInfo_t *info) /* We're a good lil photon program, aren't we? yes we are, yeess wee arrr */ if (key->key_flags & Pk_KF_Compose) - { return Pt_CONTINUE; - } if ((key->key_flags & Pk_KF_Cap_Valid) && PkIsKeyDown(key->key_flags)) @@ -1011,9 +1009,7 @@ gui_ph_pg_remove_buffer(char *name) for (i = 0; i < num_panels; i++) { if (STRCMP(panel_titles[ i ], name) != 0) - { *s++ = panel_titles[ i ]; - } } num_panels--; @@ -1334,9 +1330,7 @@ gui_mch_update(void) PtAppAddWorkProc(NULL, exit_gui_mch_update, &working); while ((working == TRUE) && !vim_is_input_buf_full()) - { PtProcessEvent(); - } } int @@ -2408,9 +2402,7 @@ gui_ph_toolbar_find_icon(vimmenu_T *menu) if (menu->iconidx >= 0 && (menu->iconidx < ARRAY_LENGTH(gui_ph_toolbar_images))) - { return gui_ph_toolbar_images[menu->iconidx]; - } return NULL; } -- cgit v1.2.3