Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fd1d4b7c
Commit
fd1d4b7c
authored
Oct 10, 2005
by
Krzysztof Foltman
Committed by
Alexandre Julliard
Oct 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug in 1.0 emulation mode in EM_LINELENGTH (which broke PTE
installer).
parent
ac21d34b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
editor.c
dlls/riched20/editor.c
+2
-1
No files found.
dlls/riched20/editor.c
View file @
fd1d4b7c
...
...
@@ -1666,7 +1666,8 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
if
(
item_end
)
nNextLineOfs
=
ME_CharOfsFromRunOfs
(
editor
,
ME_FindItemFwd
(
item_end
,
diRun
),
0
);
else
nNextLineOfs
=
ME_FindItemFwd
(
item
,
diParagraphOrEnd
)
->
member
.
para
.
nCharOfs
-
1
;
nNextLineOfs
=
ME_FindItemFwd
(
item
,
diParagraphOrEnd
)
->
member
.
para
.
nCharOfs
-
(
editor
->
bEmulateVersion10
?
2
:
1
);
nChars
=
nNextLineOfs
-
nThisLineOfs
;
TRACE
(
"EM_LINELENGTH(%d)==%d
\n
"
,
wParam
,
nChars
);
return
nChars
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment