summaryrefslogtreecommitdiffstats
path: root/src/gui_photon.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-30 18:47:01 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-30 18:47:01 +0100
commitabab0b0fdd6535969447b03a4fffc1947918cf6c (patch)
tree2d43537a5dce8433ef2b2a37684c9e069392c592 /src/gui_photon.c
parentbd9bf266fccbf7b7f09e476e09b61f0133e914db (diff)
patch 8.1.1086: too many curly bracesv8.1.1086
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r--src/gui_photon.c8
1 files changed, 0 insertions, 8 deletions
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;
}