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
9acd67ec
Commit
9acd67ec
authored
Jun 20, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Do not use wide character constants.
parent
83047596
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
reg.c
dlls/shlwapi/reg.c
+2
-2
No files found.
dlls/shlwapi/reg.c
View file @
9acd67ec
...
...
@@ -703,7 +703,7 @@ BOOL WINAPI SHRegGetBoolUSValueW(
/* process returned data via type into bool */
switch
(
type
)
{
case
REG_SZ
:
data
[
9
]
=
L
'\0'
;
/* set end of string */
data
[
9
]
=
'\0'
;
/* set end of string */
if
(
lstrcmpiW
(
data
,
wYES
)
==
0
||
lstrcmpiW
(
data
,
wTRUE
)
==
0
)
ret
=
TRUE
;
else
if
(
lstrcmpiW
(
data
,
wNO
)
==
0
||
lstrcmpiW
(
data
,
wFALSE
)
==
0
)
...
...
@@ -715,7 +715,7 @@ BOOL WINAPI SHRegGetBoolUSValueW(
break
;
case
REG_BINARY
:
if
(
datalen
==
1
)
{
ret
=
(
data
[
0
]
!=
L
'\0'
);
ret
=
(
data
[
0
]
!=
'\0'
);
break
;
}
default:
...
...
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