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
f44d2edd
Commit
f44d2edd
authored
Feb 02, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Remove unneeded casts.
parent
b2862891
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
driver.c
dlls/wineps.drv/driver.c
+2
-2
type1afm.c
dlls/wineps.drv/type1afm.c
+1
-1
No files found.
dlls/wineps.drv/driver.c
View file @
f44d2edd
...
@@ -550,8 +550,8 @@ DWORD PSDRV_DeviceCapabilities(LPSTR lpszDriver, LPCSTR lpszDevice, LPCSTR lpszP
...
@@ -550,8 +550,8 @@ DWORD PSDRV_DeviceCapabilities(LPSTR lpszDriver, LPCSTR lpszDevice, LPCSTR lpszP
LONG
*
lp
=
(
LONG
*
)
lpszOutput
;
LONG
*
lp
=
(
LONG
*
)
lpszOutput
;
if
(
lpszOutput
!=
NULL
)
{
if
(
lpszOutput
!=
NULL
)
{
lp
[
0
]
=
(
LONG
)
pi
->
ppd
->
DefaultResolution
;
lp
[
0
]
=
pi
->
ppd
->
DefaultResolution
;
lp
[
1
]
=
(
LONG
)
pi
->
ppd
->
DefaultResolution
;
lp
[
1
]
=
pi
->
ppd
->
DefaultResolution
;
}
}
return
1
;
return
1
;
}
}
...
...
dlls/wineps.drv/type1afm.c
View file @
f44d2edd
...
@@ -861,7 +861,7 @@ static VOID Unicodify(AFM *afm, OLD_AFMMETRICS *metrics)
...
@@ -861,7 +861,7 @@ static VOID Unicodify(AFM *afm, OLD_AFMMETRICS *metrics)
{
{
if
(
metrics
[
i
].
C
>=
0x20
&&
metrics
[
i
].
C
<=
0xff
)
if
(
metrics
[
i
].
C
>=
0x20
&&
metrics
[
i
].
C
<=
0xff
)
{
{
metrics
[
i
].
UV
=
((
LONG
)(
metrics
[
i
].
C
))
|
0xf000L
;
metrics
[
i
].
UV
=
metrics
[
i
].
C
|
0xf000L
;
}
}
else
else
{
{
...
...
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