To: vim_dev@googlegroups.com Subject: Patch 8.2.4017 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4017 Problem: Gcc warns for misleading indent in Athena menu code. Solution: Add curlies around the two statements. (Dominique Pellé, closes #9480) Files: src/gui_athena.c *** ../vim-8.2.4016/src/gui_athena.c 2021-12-27 17:21:38.008449130 +0000 --- src/gui_athena.c 2022-01-06 12:35:02.232583513 +0000 *************** *** 1159,1165 **** --- 1159,1167 ---- 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; *** ../vim-8.2.4016/src/version.c 2022-01-06 12:23:26.837759701 +0000 --- src/version.c 2022-01-06 12:35:15.612556833 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4017, /**/ -- hundred-and-one symptoms of being an internet addict: 238. You think faxes are old-fashioned. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///