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

Re: Problem in gui_mac.c?

Expand Messages
  • Bram Moolenaar
    ... Perhaps the vim_mac lists triggers a response? ... -- hundred-and-one symptoms of being an internet addict: 146. You experience ACTUAL physical withdrawal
    Message 1 of 1 , Jun 6, 2011
    • 0 Attachment
      Lech Lorens wrote:

      > 06-06-2011 05:42 użytkownik "Bram Moolenaar" <Bram@...> napisał:
      > >
      > > Indeed. However, nobody complained. Was something else hiding this
      > > problem, or does fixing it reveal nother proboem?
      > >
      >
      > I won't be able to check, whether removing the semicolon causes any
      > unexpected problems, because I don't even know where the nearest Mac could
      > be ;-) Sorry.

      Perhaps the vim_mac lists triggers a response?

      This was the original remark:

      > I found the following fragment in gui_mac.c:
      >
      > #v+
      > if (gui.which_scrollbars[SBAR_BOTTOM]);
      > p.v += gui.scrollbar_height;
      > #v-
      >
      > The indentation suggests that the author's intention was to increment
      > p.v only when the condition is true, but the semicolon at the end of the
      > "if()" line prevents it.
      > Looks like the semicolon shouldn't be there.

      --
      hundred-and-one symptoms of being an internet addict:
      146. You experience ACTUAL physical withdrawal symptoms when away
      from your 'puter and the net.

      /// Bram Moolenaar -- Bram@... -- 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_mac" 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
    Your message has been successfully submitted and would be delivered to recipients shortly.