From a33737b6d80f5461c1c6c4c96b5bc4964a737927 Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Thu, 6 Jan 2022 12:35:31 +0000 Subject: [PATCH] patch 8.2.4017: gcc warns for misleading indent in Athena menu code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Problem: Gcc warns for misleading indent in Athena menu code. Solution: Add curlies around the two statements. (Dominique Pellé, closes #9480) --- src/gui_athena.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/gui_athena.c b/src/gui_athena.c index 4da832b22..db13bd34f 100644 --- a/src/gui_athena.c +++ b/src/gui_athena.c @@ -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; diff --git a/src/version.c b/src/version.c index dafef8ec9..5776f3df1 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4017, /**/ 4016, /**/ -- 2.50.1