Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
faa05713
Commit
faa05713
authored
Jul 31, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Declare some variables unsigned.
parent
322f3037
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
run.c
dlls/riched20/run.c
+4
-4
No files found.
dlls/riched20/run.c
View file @
faa05713
...
...
@@ -894,8 +894,8 @@ void ME_GetCharFormat(ME_TextEditor *editor, const ME_Cursor *from,
do
{
/* FIXME add more style feature comparisons */
int
n
Attribs
=
CFM_SIZE
|
CFM_FACE
|
CFM_COLOR
|
CFM_UNDERLINETYPE
;
int
n
Effects
=
CFM_BOLD
|
CFM_ITALIC
|
CFM_UNDERLINE
|
CFM_STRIKEOUT
|
CFM_PROTECTED
|
CFM_LINK
|
CFM_SUPERSCRIPT
;
DWORD
dw
Attribs
=
CFM_SIZE
|
CFM_FACE
|
CFM_COLOR
|
CFM_UNDERLINETYPE
;
DWORD
dw
Effects
=
CFM_BOLD
|
CFM_ITALIC
|
CFM_UNDERLINE
|
CFM_STRIKEOUT
|
CFM_PROTECTED
|
CFM_LINK
|
CFM_SUPERSCRIPT
;
run
=
ME_FindItemFwd
(
run
,
diRun
);
...
...
@@ -903,7 +903,7 @@ void ME_GetCharFormat(ME_TextEditor *editor, const ME_Cursor *from,
tmp
.
cbSize
=
sizeof
(
tmp
);
ME_GetRunCharFormat
(
editor
,
run
,
&
tmp
);
assert
((
tmp
.
dwMask
&
nAttribs
)
==
n
Attribs
);
assert
((
tmp
.
dwMask
&
dwAttribs
)
==
dw
Attribs
);
/* reset flags that differ */
if
(
pFmt
->
yHeight
!=
tmp
.
yHeight
)
...
...
@@ -929,7 +929,7 @@ void ME_GetCharFormat(ME_TextEditor *editor, const ME_Cursor *from,
}
}
pFmt
->
dwMask
&=
~
((
pFmt
->
dwEffects
^
tmp
.
dwEffects
)
&
n
Effects
);
pFmt
->
dwMask
&=
~
((
pFmt
->
dwEffects
^
tmp
.
dwEffects
)
&
dw
Effects
);
pFmt
->
dwEffects
=
tmp
.
dwEffects
;
}
while
(
run
!=
run_end
);
...
...
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