Re: [patch] fixed check of icon size in gui_x11.c
- Dominique Pelle wrote:
> In gui_x11.c, icon's height is checked twice.Thanks. I don't see why you changed the && into ||. Since it says
> I assume that it was meant to check height
> and width as in attached patch.
"max_width" I assume it should be &&. E.g, if the max height would be
60 and the max width 40, then the 32x32 icon should be used, not the
48x48 one, it's too wide.
In practice the icons are very likely to be square, thus it probably
doesn't really matter.
Any resemblance between the above views and those of my employer, my terminal,
or the view out my window are purely coincidental. Any resemblance between
the above and my own views is non-deterministic. The question of the
existence of views in the absence of anyone to hold them is left as an
exercise for the reader. The question of the existence of the reader is left
as an exercise for the second god coefficient. (A discussion of
non-orthogonal, non-integral polytheism is beyond the scope of this article.)
/// 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_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 vim_dev+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.