mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2025-04-21 12:27:27 +03:00
tools/libtxt/edit.c (text2edit): properly finish parsing (it always failed)
This commit is contained in:
@@ -236,6 +236,9 @@ struct edit *text2edit(const char *s)
|
||||
s = end;
|
||||
start = s+1;
|
||||
}
|
||||
if (s != start)
|
||||
add_string(&last, start, s-start);
|
||||
return e;
|
||||
|
||||
fail:
|
||||
free_edit(e);
|
||||
|
||||
Reference in New Issue
Block a user