Re: (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
15 Oct
2008
15 Oct
'08
12:52 a.m.
"Aric Stewart" <aric(a)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.
6358
Age (days ago)
6358
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov