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
618709d2
Commit
618709d2
authored
Apr 27, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Transform the set_advanced() driveui function to unicode.
parent
17c907e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
driveui.c
programs/winecfg/driveui.c
+4
-4
No files found.
programs/winecfg/driveui.c
View file @
618709d2
...
...
@@ -118,18 +118,18 @@ static void lv_get_item(HWND dialog, LVITEM *item)
static
void
set_advanced
(
HWND
dialog
)
{
int
state
;
char
text
[
256
];
WCHAR
text
[
256
];
RECT
rect
;
if
(
advanced
)
{
state
=
SW_NORMAL
;
LoadString
(
GetModuleHandle
(
NULL
),
IDS_HIDE_ADVANCED
,
text
,
256
);
LoadString
W
(
GetModuleHandle
(
NULL
),
IDS_HIDE_ADVANCED
,
text
,
256
);
}
else
{
state
=
SW_HIDE
;
LoadString
(
GetModuleHandle
(
NULL
),
IDS_SHOW_ADVANCED
,
text
,
256
);
LoadString
W
(
GetModuleHandle
(
NULL
),
IDS_SHOW_ADVANCED
,
text
,
256
);
}
ShowWindow
(
GetDlgItem
(
dialog
,
IDC_RADIO_AUTODETECT
),
state
);
...
...
@@ -145,7 +145,7 @@ static void set_advanced(HWND dialog)
ShowWindow
(
GetDlgItem
(
dialog
,
IDC_STATIC_TYPE
),
state
);
/* update the button text based on the state */
SetWindowText
(
GetDlgItem
(
dialog
,
IDC_BUTTON_SHOW_HIDE_ADVANCED
),
text
);
SetWindowText
W
(
GetDlgItem
(
dialog
,
IDC_BUTTON_SHOW_HIDE_ADVANCED
),
text
);
/* redraw for the etched line */
get_etched_rect
(
dialog
,
&
rect
);
...
...
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