forked from aniani/vim
patch 8.2.4017: gcc warns for misleading indent in Athena menu code
Problem: Gcc warns for misleading indent in Athena menu code.
Solution: Add curlies around the two statements. (Dominique Pellé,
closes #9480)
This commit is contained in:
committed by
Bram Moolenaar
parent
58493cfae2
commit
a33737b6d8
@@ -1159,7 +1159,9 @@ gui_mch_add_menu_item(vimmenu_T *menu, int idx UNUSED)
|
||||
XtSetArg(args[n], XtNinternalWidth, 1); n++;
|
||||
XtSetArg(args[n], XtNborderWidth, 1); n++;
|
||||
if (menu->image != 0)
|
||||
{
|
||||
XtSetArg(args[n], XtNbitmap, menu->image); n++;
|
||||
}
|
||||
}
|
||||
XtSetArg(args[n], XtNhighlightThickness, 0); n++;
|
||||
type = commandWidgetClass;
|
||||
|
||||
Reference in New Issue
Block a user