Patch 8.2.1715
Problem:    Motif GUI: commented out code missed {}.
Solution:   Add {} and reenable the code. (similar to #6989)
Files:      src/gui_motif.c


*** ../vim-8.2.1714/src/gui_motif.c     2020-09-20 19:57:11.548720974 +0200
--- src/gui_motif.c     2020-09-20 21:09:17.142475502 +0200
***************
*** 1242,1252 ****
      }
      else
      {
- # if 0  // DISABLED - this causes a crash when running "make test_gui" in
        // Test_colorscheme()
        if (menu->xpm_fname != NULL)
            XtSetArg(args[n], XmNpixmapFile, menu->xpm_fname); n++;
! # endif
        XtSetArg(args[n], XmNpixmapData, menu->xpm); n++;
        XtSetArg(args[n], XmNlabelLocation, XmBOTTOM); n++;
      }
--- 1242,1252 ----
      }
      else
      {
        // Test_colorscheme()
        if (menu->xpm_fname != NULL)
+       {
            XtSetArg(args[n], XmNpixmapFile, menu->xpm_fname); n++;
!       }
        XtSetArg(args[n], XmNpixmapData, menu->xpm); n++;
        XtSetArg(args[n], XmNlabelLocation, XmBOTTOM); n++;
      }
*** ../vim-8.2.1714/src/version.c       2020-09-20 21:04:31.811898396 +0200
--- src/version.c       2020-09-20 21:11:51.869702929 +0200
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     1715,
  /**/

-- 
Looking at Perl through Lisp glasses, Perl looks atrocious.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202009201914.08KJEatv3220020%40masaka.moolenaar.net.

Raspunde prin e-mail lui