mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
user32: Only attempt autoscroll line breaking on an edit control when we have a reasonable width to break to.
This commit is contained in:
parent
78bd84cc12
commit
5e32724210
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta
|
|||
/* Line breaks just look back from the end and find the next break and try that. */
|
||||
|
||||
if (!(es->style & ES_AUTOHSCROLL)) {
|
||||
if (current_line->width > fw) {
|
||||
if (current_line->width > fw && fw > es->char_width) {
|
||||
|
||||
INT prev, next;
|
||||
int w;
|
||||
|
|
Loading…
Reference in a new issue