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
e21588ae
Commit
e21588ae
authored
Apr 18, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Pass correct cpbegin to InitMatch.
parent
492732aa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
regexp.c
dlls/jscript/regexp.c
+2
-2
No files found.
dlls/jscript/regexp.c
View file @
e21588ae
...
...
@@ -3322,7 +3322,7 @@ static HRESULT do_regexp_match_next(script_ctx_t *ctx, RegExpInstance *regexp, D
REGlobalData
gData
;
DWORD
matchlen
;
gData
.
cpbegin
=
*
cp
;
gData
.
cpbegin
=
str
;
gData
.
cpend
=
str
+
len
;
gData
.
start
=
*
cp
-
str
;
gData
.
skipped
=
0
;
...
...
@@ -3384,7 +3384,7 @@ static HRESULT do_regexp_match_next(script_ctx_t *ctx, RegExpInstance *regexp, D
(
*
parens
)[
i
].
str
=
NULL
;
(
*
parens
)[
i
].
len
=
0
;
}
else
{
(
*
parens
)[
i
].
str
=
*
cp
+
result
->
parens
[
i
].
index
;
(
*
parens
)[
i
].
str
=
str
+
result
->
parens
[
i
].
index
;
(
*
parens
)[
i
].
len
=
result
->
parens
[
i
].
length
;
}
}
...
...
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