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
36e80042
Commit
36e80042
authored
Dec 28, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Constify some character strings.
parent
bdce3b99
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
shreg.c
dlls/shlwapi/tests/shreg.c
+2
-2
string.c
dlls/shlwapi/tests/string.c
+1
-1
No files found.
dlls/shlwapi/tests/shreg.c
View file @
36e80042
...
...
@@ -39,8 +39,8 @@ static DWORD (WINAPI *pSHRegGetPathA)(HKEY,LPCSTR,LPCSTR,LPSTR,DWORD);
static
LSTATUS
(
WINAPI
*
pSHRegGetValueA
)(
HKEY
,
LPCSTR
,
LPCSTR
,
SRRF
,
LPDWORD
,
LPVOID
,
LPDWORD
);
static
LSTATUS
(
WINAPI
*
pSHRegCreateUSKeyW
)(
LPCWSTR
,
REGSAM
,
HUSKEY
,
PHUSKEY
,
DWORD
);
static
char
sTestpath1
[]
=
"%LONGSYSTEMVAR%
\\
subdir1"
;
static
char
sTestpath2
[]
=
"%FOO%
\\
subdir1"
;
static
c
onst
c
har
sTestpath1
[]
=
"%LONGSYSTEMVAR%
\\
subdir1"
;
static
c
onst
c
har
sTestpath2
[]
=
"%FOO%
\\
subdir1"
;
static
const
char
*
sEnvvar1
=
"bar"
;
static
const
char
*
sEnvvar2
=
"ImARatherLongButIndeedNeededString"
;
...
...
dlls/shlwapi/tests/string.c
View file @
36e80042
...
...
@@ -433,7 +433,7 @@ static void test_StrCpyW(void)
static
void
test_StrChrNW
(
void
)
{
static
WCHAR
string
[]
=
{
'T'
,
'e'
,
's'
,
't'
,
'i'
,
'n'
,
'g'
,
' '
,
'S'
,
't'
,
'r'
,
'i'
,
'n'
,
'g'
,
0
};
static
const
WCHAR
string
[]
=
{
'T'
,
'e'
,
's'
,
't'
,
'i'
,
'n'
,
'g'
,
' '
,
'S'
,
't'
,
'r'
,
'i'
,
'n'
,
'g'
,
0
};
LPWSTR
p
;
if
(
!
pStrChrNW
)
...
...
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