Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b58dadf0
Commit
b58dadf0
authored
Feb 27, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Fixed chr(0) implementation.
parent
34bf93fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
global.c
dlls/vbscript/global.c
+1
-1
api.vbs
dlls/vbscript/tests/api.vbs
+1
-0
No files found.
dlls/vbscript/global.c
View file @
b58dadf0
...
...
@@ -1088,7 +1088,7 @@ static HRESULT Global_Chr(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIA
if
(
FAILED
(
hres
))
return
hres
;
if
(
c
<
=
0
||
c
>=
0x100
)
{
if
(
c
<
0
||
c
>=
0x100
)
{
FIXME
(
"invalid arg
\n
"
);
return
E_FAIL
;
}
...
...
dlls/vbscript/tests/api.vbs
View file @
b58dadf0
...
...
@@ -119,6 +119,7 @@ if isEnglishLang then TestCStr true, "True"
Call
ok
(
getVT
(
Chr
(
120
))
=
"VT_BSTR"
,
"getVT(Chr(120)) = "
&
getVT
(
Chr
(
120
)))
Call
ok
(
getVT
(
Chr
(
255
))
=
"VT_BSTR"
,
"getVT(Chr(255)) = "
&
getVT
(
Chr
(
255
)))
Call
ok
(
Chr
(
120
)
=
"x"
,
"Chr(120) = "
&
Chr
(
120
))
Call
ok
(
Chr
(
0
)
<>
""
,
"Chr(0) =
""""
"
)
Call
ok
(
isObject
(
new
EmptyClass
),
"isObject(new EmptyClass) is not true?"
)
Set
x
=
new
EmptyClass
...
...
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