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
7ba0c5f3
Commit
7ba0c5f3
authored
Mar 04, 2003
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VarAdd: set 'rc' correctly from BSTR addition.
parent
84213a37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
variant.c
dlls/oleaut32/variant.c
+2
-2
No files found.
dlls/oleaut32/variant.c
View file @
7ba0c5f3
...
...
@@ -2692,7 +2692,7 @@ HRESULT WINAPI VarI2FromStr(OLECHAR* strIn, LCID lcid, ULONG dwFlags, short* psO
double
dValue
=
0
.
0
;
LPSTR
pNewString
=
NULL
;
TRACE
(
"( %
p, 0x%08lx, 0x%08lx, %p ), stub
\n
"
,
strIn
,
lcid
,
dwFlags
,
psOut
);
TRACE
(
"( %
s, 0x%08lx, 0x%08lx, %p ), stub
\n
"
,
debugstr_w
(
strIn
)
,
lcid
,
dwFlags
,
psOut
);
/* Check if we have a valid argument
*/
...
...
@@ -5345,7 +5345,7 @@ HRESULT WINAPI VarAdd(LPVARIANT left, LPVARIANT right, LPVARIANT result)
if
((
V_VT
(
left
)
&
VT_TYPEMASK
)
==
VT_BSTR
&&
(
V_VT
(
right
)
&
VT_TYPEMASK
)
==
VT_BSTR
)
{
V_VT
(
result
)
=
VT_BSTR
;
VarBstrCat
(
V_BSTR
(
left
),
V_BSTR
(
right
),
&
V_BSTR
(
result
));
rc
=
VarBstrCat
(
V_BSTR
(
left
),
V_BSTR
(
right
),
&
V_BSTR
(
result
));
}
else
{
/* Integers */
...
...
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