Lech Lorens wrote:

> 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.

Indeed. However, nobody complained.  Was something else hiding this
problem, or does fixing it reveal nother proboem?

-- 
hundred-and-one symptoms of being an internet addict:
141. You'd rather go to http://www.weather.com/ than look out your window.

 /// 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

Raspunde prin e-mail lui