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
3afd7282
Commit
3afd7282
authored
Feb 05, 2007
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Removed dead code (Coverity).
parent
886b15e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
24 deletions
+14
-24
xfont.c
dlls/winex11.drv/xfont.c
+14
-24
No files found.
dlls/winex11.drv/xfont.c
View file @
3afd7282
...
...
@@ -857,6 +857,7 @@ static BOOL LFD_ComposeLFD( const fontObject* fo,
const
char
*
any
=
"*"
;
char
h_string
[
64
],
resx_string
[
64
],
resy_string
[
64
];
LFD
aLFD
;
const
fontEncodingTemplate
*
boba
=
&
fETTable
[
0
];
/* Get the worst case over with first */
...
...
@@ -1001,33 +1002,22 @@ static BOOL LFD_ComposeLFD( const fontObject* fo,
/* encoding */
if
(
uRelax
<=
5
)
{
const
fontEncodingTemplate
*
boba
=
&
fETTable
[
0
];
for
(
i
=
fo
->
fi
->
fi_encoding
>>
8
;
i
;
i
--
)
boba
=
boba
->
next
;
aLFD
.
charset_registry
=
boba
->
prefix
?
boba
->
prefix
:
any
;
i
=
fo
->
fi
->
fi_encoding
&
255
;
switch
(
i
)
{
default:
aLFD
.
charset_encoding
=
boba
->
sufch
[
i
].
psuffix
;
break
;
for
(
i
=
fo
->
fi
->
fi_encoding
>>
8
;
i
;
i
--
)
boba
=
boba
->
next
;
aLFD
.
charset_registry
=
boba
->
prefix
?
boba
->
prefix
:
any
;
case
254
:
aLFD
.
charset_encoding
=
any
;
break
;
i
=
fo
->
fi
->
fi_encoding
&
255
;
switch
(
i
)
{
default:
aLFD
.
charset_encoding
=
boba
->
sufch
[
i
].
psuffix
;
break
;
case
255
:
/* no suffix - it ends eg "-ascii" */
aLFD
.
charset_encoding
=
NULL
;
break
;
}
}
else
{
aLFD
.
charset_registry
=
any
;
case
254
:
aLFD
.
charset_encoding
=
any
;
break
;
case
255
:
/* no suffix - it ends eg "-ascii" */
aLFD
.
charset_encoding
=
NULL
;
break
;
}
LFD_UnParse
(
lpLFD
,
MAX_LFD_LENGTH
,
&
aLFD
);
...
...
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