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
ff307d96
Commit
ff307d96
authored
Nov 01, 2007
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Nov 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove useless comparison >= 0 for unsigned variables.
parent
16f021a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
shelllink.c
dlls/shell32/tests/shelllink.c
+3
-3
No files found.
dlls/shell32/tests/shelllink.c
View file @
ff307d96
...
...
@@ -527,7 +527,7 @@ static void test_load_save(void)
check_lnk
(
lnkfile
,
&
desc
,
0x0
);
r
=
GetModuleFileName
(
NULL
,
mypath
,
sizeof
(
mypath
));
ok
(
r
>=
0
&&
r
<
sizeof
(
mypath
),
"GetModuleFileName failed (%d)
\n
"
,
r
);
ok
(
r
<
sizeof
(
mypath
),
"GetModuleFileName failed (%d)
\n
"
,
r
);
strcpy
(
mydir
,
mypath
);
p
=
strrchr
(
mydir
,
'\\'
);
if
(
p
)
...
...
@@ -564,9 +564,9 @@ static void test_load_save(void)
/* Create a temporary non-executable file */
r
=
GetTempPath
(
sizeof
(
mypath
),
mypath
);
ok
(
r
>=
0
&&
r
<
sizeof
(
mypath
),
"GetTempPath failed (%d), err %d
\n
"
,
r
,
GetLastError
());
ok
(
r
<
sizeof
(
mypath
),
"GetTempPath failed (%d), err %d
\n
"
,
r
,
GetLastError
());
r
=
pGetLongPathNameA
(
mypath
,
mydir
,
sizeof
(
mydir
));
ok
(
r
>=
0
&&
r
<
sizeof
(
mydir
),
"GetLongPathName failed (%d), err %d
\n
"
,
r
,
GetLastError
());
ok
(
r
<
sizeof
(
mydir
),
"GetLongPathName failed (%d), err %d
\n
"
,
r
,
GetLastError
());
p
=
strrchr
(
mydir
,
'\\'
);
if
(
p
)
*
p
=
'\0'
;
...
...
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