Skip to content

Commit daf6f47

Browse files
authored
fix error of working with the pointer.
1 parent a4c1115 commit daf6f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/position.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace Sass {
3333
{
3434
Offset offset(0, 0);
3535
if (end == 0) {
36-
end += strlen(beg);
36+
end = beg + strlen(beg);
3737
}
3838
offset.add(beg, end);
3939
return offset;

0 commit comments

Comments
 (0)