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
c3d28bae
Commit
c3d28bae
authored
Jan 12, 2011
by
Austin English
Committed by
Alexandre Julliard
Jan 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Fix a compiler warning on PowerPC.
parent
2b99331e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
driveui.c
programs/winecfg/driveui.c
+4
-2
No files found.
programs/winecfg/driveui.c
View file @
c3d28bae
...
...
@@ -307,6 +307,7 @@ static void on_add_click(HWND dialog)
char
new
=
'C'
;
/* we skip A and B, they are historically floppy drives */
ULONG
mask
=
~
drive_available_mask
(
0
);
/* the mask is now which drives aren't available */
int
i
,
c
;
INT_PTR
ret
;
while
(
mask
&
(
1
<<
(
new
-
'A'
)))
{
...
...
@@ -319,9 +320,10 @@ static void on_add_click(HWND dialog)
}
new
=
DialogBoxParam
(
0
,
MAKEINTRESOURCE
(
IDD_DRIVECHOOSE
),
dialog
,
drivechoose_dlgproc
,
new
);
ret
=
DialogBoxParam
(
0
,
MAKEINTRESOURCE
(
IDD_DRIVECHOOSE
),
dialog
,
drivechoose_dlgproc
,
new
);
if
(
new
==
-
1
)
return
;
if
(
ret
==
-
1
)
return
;
new
=
ret
;
WINE_TRACE
(
"selected drive letter %c
\n
"
,
new
);
...
...
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