Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
blaar
blibs
blc_core
Commits
e9fd48b6
Commit
e9fd48b6
authored
Jun 30, 2017
by
Arnaud Blanchard
Browse files
Fix parsing string as sizes (e.g. 3x4)
parent
ec94a37e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/blc_array.cpp
View file @
e9fd48b6
...
...
@@ -218,7 +218,7 @@ int blc_array::sscan_dims(char const *string){
size
=
get_type_size
();
SSCANF
(
1
,
string
,
"%d%n"
,
&
length
,
&
pos
);
total_pos
=
pos
;
total_pos
=
0
;
dims_nb
=
0
;
if
(
dims
)
FREE
(
dims
);
if
(
length
!=
0
){
...
...
Write
Preview
Supports
Markdown
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