Hi,
On Sun, Sep 20, 2020 at 9:14 PM Bram Moolenaar <[email protected]> wrote:
> }
> else
> {
> // Test_colorscheme()
> 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++;
> }
Writing this as
if (menu->xpm_fname != NULL)
XtSetArg(args[n++], XmNpixmapFile, menu->xpm_fname);
XtSetArg(args[n++], XmNpixmapData, menu->xpm);
XtSetArg(args[n++], XmNlabelLocation, XmBOTTOM);
}
would have been nicer in the first place, I think... No {} needed!
I assume that those are function calls!
Christ van Willegen
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CA%2BOt1OxL0C0RM86GP-i70LD1NjOjM2bPUVFO6nL5Nfib81%2B--g%40mail.gmail.com.