mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
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], XtNinternalWidth, 1); n++;
|
||||||
XtSetArg(args[n], XtNborderWidth, 1); n++;
|
XtSetArg(args[n], XtNborderWidth, 1); n++;
|
||||||
if (menu->image != 0)
|
if (menu->image != 0)
|
||||||
|
{
|
||||||
XtSetArg(args[n], XtNbitmap, menu->image); n++;
|
XtSetArg(args[n], XtNbitmap, menu->image); n++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
XtSetArg(args[n], XtNhighlightThickness, 0); n++;
|
XtSetArg(args[n], XtNhighlightThickness, 0); n++;
|
||||||
type = commandWidgetClass;
|
type = commandWidgetClass;
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4017,
|
||||||
/**/
|
/**/
|
||||||
4016,
|
4016,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user