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
8e81d457
Commit
8e81d457
authored
Jun 28, 2005
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 28, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- VarCmp: handle comparision of VT_EMPTY with an integer
- small comment fix
parent
d01a3920
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
variant.c
dlls/oleaut32/variant.c
+3
-1
No files found.
dlls/oleaut32/variant.c
View file @
8e81d457
...
...
@@ -2569,6 +2569,7 @@ HRESULT WINAPI VarCmp(LPVARIANT left, LPVARIANT right, LCID lcid, DWORD flags)
case
VT_UI4
:
case
VT_UINT
:
lVal
=
V_UI4
(
left
);
break
;
case
VT_BOOL
:
lVal
=
V_BOOL
(
left
);
break
;
case
VT_EMPTY
:
lVal
=
0
;
break
;
default:
lOk
=
FALSE
;
}
...
...
@@ -2583,6 +2584,7 @@ HRESULT WINAPI VarCmp(LPVARIANT left, LPVARIANT right, LCID lcid, DWORD flags)
case
VT_UI4
:
case
VT_UINT
:
rVal
=
V_UI4
(
right
);
break
;
case
VT_BOOL
:
rVal
=
V_BOOL
(
right
);
break
;
case
VT_EMPTY
:
rVal
=
0
;
break
;
default:
rOk
=
FALSE
;
}
...
...
@@ -2596,7 +2598,7 @@ HRESULT WINAPI VarCmp(LPVARIANT left, LPVARIANT right, LCID lcid, DWORD flags)
}
}
/*
Strings - use VarBstrCmp
*/
/*
Dates
*/
if
((
V_VT
(
left
)
&
VT_TYPEMASK
)
==
VT_DATE
&&
(
V_VT
(
right
)
&
VT_TYPEMASK
)
==
VT_DATE
)
{
...
...
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