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
d2225219
Commit
d2225219
authored
Nov 22, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added support for VT_BYREF|VT_VARIANT to to_int.
parent
ddcd19cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
global.c
dlls/vbscript/global.c
+3
-0
lang.vbs
dlls/vbscript/tests/lang.vbs
+3
-1
No files found.
dlls/vbscript/global.c
View file @
d2225219
...
...
@@ -152,6 +152,9 @@ static inline HRESULT return_date(VARIANT *res, double date)
HRESULT
to_int
(
VARIANT
*
v
,
int
*
ret
)
{
if
(
V_VT
(
v
)
==
(
VT_BYREF
|
VT_VARIANT
))
v
=
V_VARIANTREF
(
v
);
switch
(
V_VT
(
v
))
{
case
VT_I2
:
*
ret
=
V_I2
(
v
);
...
...
dlls/vbscript/tests/lang.vbs
View file @
d2225219
...
...
@@ -964,7 +964,6 @@ Class Property2
Function
Property
()
End
Function
Sub
Test
(
property
)
End
Sub
...
...
@@ -1042,4 +1041,7 @@ for x=1 to 1
forarr
(
1
)
=
x
+
1
next
x
=
1
Call
ok
(
forarr
(
x
)
=
2
,
"forarr(x) = "
&
forarr
(
x
))
reportSuccess
()
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