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
327b1632
Commit
327b1632
authored
May 11, 2005
by
Ivan Leo Puoti
Committed by
Alexandre Julliard
May 11, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crash in ME_GetRunSizeCommon(). Turn a FIXME into a TRACE.
parent
b168f478
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
run.c
dlls/riched20/run.c
+0
-2
style.c
dlls/riched20/style.c
+1
-1
No files found.
dlls/riched20/run.c
View file @
327b1632
...
...
@@ -466,8 +466,6 @@ SIZE ME_GetRunSizeCommon(ME_Context *c, ME_Paragraph *para, ME_Run *run, int nLe
* in practice
*/
ME_GetTextExtent
(
c
,
run
->
strText
->
szData
,
nLen
,
run
->
style
,
&
size
);
assert
(
run
->
style
->
tm
.
tmAscent
>
0
);
assert
(
run
->
style
->
tm
.
tmDescent
>
0
);
*
pAscent
=
run
->
style
->
tm
.
tmAscent
;
*
pDescent
=
run
->
style
->
tm
.
tmDescent
;
size
.
cy
=
*
pAscent
+
*
pDescent
;
...
...
dlls/riched20/style.c
View file @
327b1632
...
...
@@ -383,7 +383,7 @@ void ME_ReleaseStyle(ME_Style *s)
TRACE
(
"destroy style %p, total refs=%d
\n
"
,
s
,
all_refs
);
else
TRACE
(
"release style %p, new refs=%d, total refs=%d
\n
"
,
s
,
s
->
nRefs
,
all_refs
);
if
(
!
all_refs
)
FIXM
E
(
"all style references freed (good!)
\n
"
);
if
(
!
all_refs
)
TRAC
E
(
"all style references freed (good!)
\n
"
);
assert
(
s
->
nRefs
>=
0
);
if
(
!
s
->
nRefs
)
ME_DestroyStyle
(
s
);
...
...
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