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
e403292e
Commit
e403292e
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: Avoid checking for <0 for unsigned variables.
parent
c7adf5f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
recyclebin.c
dlls/shell32/recyclebin.c
+3
-3
No files found.
dlls/shell32/recyclebin.c
View file @
e403292e
...
...
@@ -381,7 +381,7 @@ static HRESULT WINAPI RecycleBin_GetDefaultColumnState(IShellFolder2 *iface, UIN
{
RecycleBin
*
This
=
(
RecycleBin
*
)
iface
;
TRACE
(
"(%p, %d, %p)
\n
"
,
This
,
iColumn
,
pcsFlags
);
if
(
iColumn
<
0
||
iColumn
>=
COLUMNS_COUNT
)
if
(
iColumn
>=
COLUMNS_COUNT
)
return
E_INVALIDARG
;
*
pcsFlags
=
RecycleBinColumns
[
iColumn
].
pcsFlags
;
return
S_OK
;
...
...
@@ -400,7 +400,7 @@ static HRESULT WINAPI RecycleBin_GetDetailsOf(IShellFolder2 *iface, LPCITEMIDLIS
WCHAR
buffer
[
MAX_PATH
];
TRACE
(
"(%p, %p, %d, %p)
\n
"
,
This
,
pidl
,
iColumn
,
pDetails
);
if
(
iColumn
<
0
||
iColumn
>=
COLUMNS_COUNT
)
if
(
iColumn
>=
COLUMNS_COUNT
)
return
E_FAIL
;
pDetails
->
fmt
=
RecycleBinColumns
[
iColumn
].
fmt
;
pDetails
->
cxChar
=
RecycleBinColumns
[
iColumn
].
cxChars
;
...
...
@@ -446,7 +446,7 @@ static HRESULT WINAPI RecycleBin_MapColumnToSCID(IShellFolder2 *iface, UINT iCol
{
RecycleBin
*
This
=
(
RecycleBin
*
)
iface
;
TRACE
(
"(%p, %d, %p)
\n
"
,
This
,
iColumn
,
pscid
);
if
(
iColumn
<
0
||
iColumn
>=
COLUMNS_COUNT
)
if
(
iColumn
>=
COLUMNS_COUNT
)
return
E_INVALIDARG
;
pscid
->
fmtid
=
*
RecycleBinColumns
[
iColumn
].
fmtId
;
pscid
->
pid
=
RecycleBinColumns
[
iColumn
].
pid
;
...
...
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