user32: only attempt autoscroll line breaking on an edit control when we have a reasonable width to break to.

Aric Stewart aric at codeweavers.com
Tue Nov 1 14:48:35 CDT 2011


Some applications create an edit control of width 0 and insert text into 
it before adjusting the window size.  Uniscribe line breaking is much 
more expensive than the old method do breaking a very long strings down 
to its component glyphs is very slow especially when not needed.

fix for bug 28955
---
  dlls/user32/edit.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 98833da42f6a60ad93153f2f6ccf6c0db077de76.diff
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111101/a35afa16/attachment.bin>


More information about the wine-patches mailing list