(try 2) user: edit.c make sure our vlc (vertical line count) isat least 1 even if there is an oversized font in the edit control

Dmitry Timoshkov dmitry at codeweavers.com
Tue Oct 14 19:52:22 CDT 2008


"Aric Stewart" <aric at codeweavers.com> wrote:

> +static inline INT calculate_vlc(EDITSTATE *es)
> +{
> + INT vlc = (es->format_rect.bottom - es->format_rect.top) / es->line_height;
> +    return max(1,vlc);
> +}

The formatting of the above hunk is broken, you will notice that
once you set tab size in your editor to native 8.

-- 
Dmitry.



More information about the wine-devel mailing list