Patch 9.0.1404 (after 9.0.1397)
Problem:    Compilation error with some compilers.
Solution:   Adjust array initialization. (John Marriott)
Files:      src/popupmenu.c


*** ../vim-9.0.1403/src/popupmenu.c     2023-03-10 16:34:27.568958670 +0000
--- src/popupmenu.c     2023-03-15 17:04:41.945414991 +0000
***************
*** 434,443 ****
      int               round;
      int               n;
  
!     int *ha = highlight_attr;
!     //                         "word"         "kind"          "extra text"
!     int       attrsNorm[3] = { ha[HLF_PNI],   ha[HLF_PNK],    ha[HLF_PNX] };
!     int       attrsSel[3] =  { ha[HLF_PSI],   ha[HLF_PSK],    ha[HLF_PSX] };
  
      if (call_update_screen)
      {
--- 434,450 ----
      int               round;
      int               n;
  
!     int               attrsNorm[3];
!     int               attrsSel[3];
!     // "word"
!     attrsNorm[0] = highlight_attr[HLF_PNI];
!     attrsSel[0] = highlight_attr[HLF_PSI];
!     // "kind"
!     attrsNorm[1] = highlight_attr[HLF_PNK];
!     attrsSel[1] = highlight_attr[HLF_PSK];
!     // "extra text"
!     attrsNorm[2] = highlight_attr[HLF_PNX];
!     attrsSel[2] = highlight_attr[HLF_PSX];
  
      if (call_update_screen)
      {
*** ../vim-9.0.1403/src/version.c       2023-03-12 21:20:51.441254187 +0000
--- src/version.c       2023-03-15 17:06:13.557483338 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1404,
  /**/

-- 
There is a fine line between courage and foolishness.
Unfortunately, it's not a fence.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20230315170932.60D7A1C0CA8%40moolenaar.net.

Raspunde prin e-mail lui