Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
sapl-interpreter
Commits
39e97e7f
Commit
39e97e7f
authored
Jan 25, 2016
by
Laszlo Domoszlai
Browse files
fix typo
parent
0a462cac
Changes
1
Hide whitespace changes
Inline
Side-by-side
interpreter/prim.c
View file @
39e97e7f
...
...
@@ -244,7 +244,7 @@ void __string_slice(int dst_idx)
chars
=
str
->
_array
.
_chars
;
}
int
length
=
idx2
->
_int
-
idx1
->
_int
+
1
;
int
length
=
idx2
->
_int
-
idx1
->
_int
;
target
=
string_create
(
target
,
length
);
memcpy
(
target
->
_array
.
_chars
,
chars
+
idx1
->
_int
,
length
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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