diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
commit | abab0b0fdd6535969447b03a4fffc1947918cf6c (patch) | |
tree | 2d43537a5dce8433ef2b2a37684c9e069392c592 /src/gui_motif.c | |
parent | bd9bf266fccbf7b7f09e476e09b61f0133e914db (diff) | |
download | vim-git-abab0b0fdd6535969447b03a4fffc1947918cf6c.tar.gz |
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_motif.c')
-rw-r--r-- | src/gui_motif.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c index 6eb618f17..421733933 100644 --- a/src/gui_motif.c +++ b/src/gui_motif.c @@ -916,13 +916,9 @@ gui_mch_add_menu(vimmenu_T *menu, int idx) # endif { if (gui.menu_bg_pixel != INVALCOLOR) - { XtSetArg(arg[0], XmNbackground, gui.menu_bg_pixel); n++; - } if (gui.menu_fg_pixel != INVALCOLOR) - { XtSetArg(arg[1], XmNforeground, gui.menu_fg_pixel); n++; - } menu->submenu_id = XmCreatePopupMenu(textArea, "contextMenu", arg, n); menu->id = (Widget)0; @@ -1243,9 +1239,7 @@ add_pixmap_args(vimmenu_T *menu, Arg *args, int n) else { if (menu->xpm_fname != NULL) - { XtSetArg(args[n], XmNpixmapFile, menu->xpm_fname); n++; - } XtSetArg(args[n], XmNpixmapData, menu->xpm); n++; XtSetArg(args[n], XmNlabelLocation, XmBOTTOM); n++; } |