This patch fixes an error in EWB 5.12 (# 17807).
Nikolay
nick at vyalceva.net
Sat Mar 28 15:49:12 CDT 2009
---
dlls/user32/edit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
mode change 100644 => 100755 dlls/user32/edit.c
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
old mode 100644
new mode 100755
index eadcc3d..279a2f9
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -1001,7 +1001,7 @@ static LRESULT EDIT_EM_PosFromChar(EDITSTATE *es, INT
index, BOOL after_wrap)
HFONT old_font = 0;
SIZE size;
LINEDEF *line_def;
-
+ while((es->text[len-1]==0x20) && (es->style & ES_READONLY)) --len;
index = min(index, len);
dc = GetDC(es->hwndSelf);
if (es->font)
--
1.5.6.3
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list