changeset 32867:7279c963c926 v9.0.1743

patch 9.0.1743: Parameter of gui_gtk:gui_mch_browse incorrectly marked as UNUSED Commit: https://github.com/vim/vim/commit/44a6b72d7f4561d4c002f0a8083587ac69222826 Author: Doug Kearns <dougkearns@gmail.com> Date: Sat Aug 19 13:13:11 2023 +0200 patch 9.0.1743: Parameter of gui_gtk:gui_mch_browse incorrectly marked as UNUSED Problem: Parameter of gui_gtk:gui_mch_browse incorrectly marked as UNUSED. Solution: Remove UNUSED flag. closes: #12841 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Doug Kearns <dougkearns@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2023 13:30:05 +0200
parents 229a3b466854
children aebcdda167a2
files src/gui_gtk.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -1239,10 +1239,10 @@ browse_destroy_cb(GtkWidget *widget UNUS
  * dflt				default name
  * ext				not used (extension added)
  * initdir			initial directory, NULL for current dir
- * filter			not used (file name filter)
+ * filter			file name filter
  */
     char_u *
-gui_mch_browse(int saving UNUSED,
+gui_mch_browse(int saving,
 	       char_u *title,
 	       char_u *dflt,
 	       char_u *ext UNUSED,
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1743,
+/**/
     1742,
 /**/
     1741,