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