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
a15b9fb8
Commit
a15b9fb8
authored
Aug 07, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Aug 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Fix virtual desktop selection.
parent
3b597af0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
winecfg.c
programs/winecfg/winecfg.c
+7
-4
No files found.
programs/winecfg/winecfg.c
View file @
a15b9fb8
...
@@ -363,9 +363,12 @@ char *get_reg_key(HKEY root, const char *path, const char *name, const char *def
...
@@ -363,9 +363,12 @@ char *get_reg_key(HKEY root, const char *path, const char *name, const char *def
wRet
=
get_reg_keyW
(
root
,
wpath
,
wname
,
wdef
);
wRet
=
get_reg_keyW
(
root
,
wpath
,
wname
,
wdef
);
len
=
WideCharToMultiByte
(
CP_ACP
,
0
,
wRet
,
-
1
,
szRet
,
0
,
NULL
,
NULL
);
len
=
WideCharToMultiByte
(
CP_ACP
,
0
,
wRet
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
szRet
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
if
(
len
)
WideCharToMultiByte
(
CP_ACP
,
0
,
wRet
,
-
1
,
szRet
,
len
,
NULL
,
NULL
);
{
szRet
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
WideCharToMultiByte
(
CP_ACP
,
0
,
wRet
,
-
1
,
szRet
,
len
,
NULL
,
NULL
);
}
HeapFree
(
GetProcessHeap
(),
0
,
wpath
);
HeapFree
(
GetProcessHeap
(),
0
,
wpath
);
HeapFree
(
GetProcessHeap
(),
0
,
wname
);
HeapFree
(
GetProcessHeap
(),
0
,
wname
);
...
@@ -397,7 +400,7 @@ static void set_reg_key_ex(HKEY root, const WCHAR *path, const WCHAR *name, cons
...
@@ -397,7 +400,7 @@ static void set_reg_key_ex(HKEY root, const WCHAR *path, const WCHAR *name, cons
assert
(
path
!=
NULL
);
assert
(
path
!=
NULL
);
WINE_TRACE
(
"path=%s, name=%s, value=%
p
\n
"
,
wine_dbgstr_w
(
path
),
WINE_TRACE
(
"path=%s, name=%s, value=%
s
\n
"
,
wine_dbgstr_w
(
path
),
wine_dbgstr_w
(
name
),
wine_dbgstr_w
(
value
));
wine_dbgstr_w
(
name
),
wine_dbgstr_w
(
value
));
/* firstly, see if we already set this setting */
/* firstly, see if we already set this setting */
...
...
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