Loading ...
Sorry, an error occurred while loading the content.

patch 7.0.220

Expand Messages
  • Bram Moolenaar
    Patch 7.0.220 Problem: Crash when using winnr( # ) in a new tab page. (Andy Wokula) Solution: Check for not finding the window. Files: src/eval.c ...
    Message 1 of 1 , Mar 25, 2007
    • 0 Attachment
      Patch 7.0.220
      Problem: Crash when using winnr('#') in a new tab page. (Andy Wokula)
      Solution: Check for not finding the window.
      Files: src/eval.c


      *** ../vim-7.0.219/src/eval.c Tue Feb 20 03:18:20 2007
      --- src/eval.c Sun Mar 25 17:43:53 2007
      ***************
      *** 15769,15775 ****
      --- 15769,15783 ----
      if (nr > 0)
      for (wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
      wp != twin; wp = wp->w_next)
      + {
      + if (wp == NULL)
      + {
      + /* didn't find it in this tabpage */
      + nr = 0;
      + break;
      + }
      ++nr;
      + }
      return nr;
      }
      #endif
      *** ../vim-7.0.219/src/version.c Sun Mar 18 21:52:09 2007
      --- src/version.c Sun Mar 25 17:48:20 2007
      ***************
      *** 668,669 ****
      --- 668,671 ----
      { /* Add new patch number below this line */
      + /**/
      + 220,
      /**/

      --
      Men may not be seen publicly in any kind of strapless gown.
      [real standing law in Florida, United States of America]

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.