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

2008-10-14 Thread Juan Lang
Hi Aric, Just a suggestion: @@ -1818,6 +1818,7 @@ static void EDIT_ML_InvalidateText(EDITSTATE *es, INT start, INT end) RECT rcUpdate; INT l; + if (vlc == 0) vlc = 1; if ((el es-y_offset) || (sl es-y_offset + vlc)) return; @@ -2235,6 +2236,7 @@

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

2008-10-14 Thread Aric Stewart
Great idea, patch resubmitted. -aric Juan Lang wrote: Hi Aric, Just a suggestion: @@ -1818,6 +1818,7 @@ static void EDIT_ML_InvalidateText(EDITSTATE *es, INT start, INT end) RECT rcUpdate; INT l; + if (vlc == 0) vlc = 1; if ((el es-y_offset) || (sl