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
b8fbf9a1
Commit
b8fbf9a1
authored
Feb 12, 2010
by
Jeremy White
Committed by
Alexandre Julliard
Feb 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps.drv: Prevent psdrv tracing from crashing on Solaris.
parent
2d5ea4b5
Hide 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
+1
-1
ppd.c
dlls/wineps.drv/ppd.c
+2
-2
No files found.
dlls/wineps.drv/driver.c
View file @
b8fbf9a1
...
@@ -327,7 +327,7 @@ INT CDECL PSDRV_ExtDeviceMode(LPSTR lpszDriver, HWND hwnd, LPDEVMODEA lpdmOutput
...
@@ -327,7 +327,7 @@ INT CDECL PSDRV_ExtDeviceMode(LPSTR lpszDriver, HWND hwnd, LPDEVMODEA lpdmOutput
if
(
!
pi
)
return
-
1
;
if
(
!
pi
)
return
-
1
;
TRACE
(
"(Driver=%s, hwnd=%p, devOut=%p, Device='%s', Port='%s', devIn=%p, Profile='%s', Mode=%04x)
\n
"
,
TRACE
(
"(Driver=%s, hwnd=%p, devOut=%p, Device='%s', Port='%s', devIn=%p, Profile='%s', Mode=%04x)
\n
"
,
lpszDriver
,
hwnd
,
lpdmOutput
,
lpszDevice
,
lpszPort
,
lpdmInput
,
lpszProfile
,
dwMode
);
lpszDriver
,
hwnd
,
lpdmOutput
,
lpszDevice
,
lpszPort
,
lpdmInput
,
debugstr_a
(
lpszProfile
)
,
dwMode
);
/* If dwMode == 0, return size of DEVMODE structure */
/* If dwMode == 0, return size of DEVMODE structure */
if
(
!
dwMode
)
if
(
!
dwMode
)
...
...
dlls/wineps.drv/ppd.c
View file @
b8fbf9a1
...
@@ -1015,8 +1015,8 @@ PPD *PSDRV_ParsePPD(char *fname)
...
@@ -1015,8 +1015,8 @@ PPD *PSDRV_ParsePPD(char *fname)
for
(
slot
=
ppd
->
InputSlots
;
slot
;
slot
=
slot
->
next
)
for
(
slot
=
ppd
->
InputSlots
;
slot
;
slot
=
slot
->
next
)
TRACE
(
"INPUTSLOTS '%s' Name '%s' (%d) Invocation '%s'
\n
"
,
TRACE
(
"INPUTSLOTS '%s' Name '%s' (%d) Invocation '%s'
\n
"
,
slot
->
Name
,
slot
->
FullName
,
slot
->
WinBin
,
debugstr_a
(
slot
->
Name
)
,
slot
->
FullName
,
slot
->
WinBin
,
slot
->
InvocationString
);
debugstr_a
(
slot
->
InvocationString
)
);
}
}
fclose
(
fp
);
fclose
(
fp
);
...
...
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