http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f02b52
)
Reposition caret after window resize.
author
Lauri Tulmin
<lauri_@ut.ee>
Wed, 19 Jan 2005 20:53:38 +0000
(20:53 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 19 Jan 2005 20:53:38 +0000
(20:53 +0000)
dlls/user/edit.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/user/edit.c
b/dlls/user/edit.c
index aae8da99255cf675a7dea209ef373707be55cb3e..6df9c65bef786eff90f119ca55a0f72ce4b01f53 100644
(file)
--- a/
dlls/user/edit.c
+++ b/
dlls/user/edit.c
@@
-2250,6
+2250,8
@@
static void EDIT_SetRectNP(EDITSTATE *es, LPRECT rc)
if ((es->style & ES_MULTILINE) && !(es->style & ES_AUTOHSCROLL))
EDIT_BuildLineDefs_ML(es, 0, strlenW(es->text), 0, NULL);
+
+ EDIT_SetCaretPos(es, es->selection_end, es->flags & EF_AFTER_WRAP);
}