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:
3266420
)
richedit: Fixed the initialization of the word wrap mode.
author
Eric Pouech
<eric.pouech@orange.fr>
Sun, 23 Mar 2008 07:06:33 +0000
(08:06 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 24 Mar 2008 11:12:07 +0000
(12:12 +0100)
dlls/riched20/editor.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/riched20/editor.c
b/dlls/riched20/editor.c
index 54fd4a3a6a676dd85eb3b8a8336a5e6b9e11389f..091cdacb38b7fdb04d2cfc5d46ad6d9979a1186b 100644
(file)
--- a/
dlls/riched20/editor.c
+++ b/
dlls/riched20/editor.c
@@
-1602,7
+1602,7
@@
ME_TextEditor *ME_MakeEditor(HWND hWnd) {
ed->nLastSelStart = ed->nLastSelEnd = 0;
ed->pLastSelStartPara = ed->pLastSelEndPara = ME_FindItemFwd(ed->pBuffer->pFirst, diParagraph);
ed->bRedraw = TRUE;
- ed->bWordWrap =
FALS
E;
+ ed->bWordWrap =
(GetWindowLongW(hWnd, GWL_STYLE) & WS_HSCROLL) ? FALSE : TRU
E;
ed->bHideSelection = FALSE;
ed->nInvalidOfs = -1;
ed->pfnWordBreak = NULL;