Editor: add new module

Fix #430
This commit is contained in:
李通洲
2024-05-22 16:13:36 +08:00
parent 92136370bb
commit 30a5dd52b1
17 changed files with 302 additions and 3 deletions
+2 -2
View File
@@ -389,8 +389,8 @@ void ffStrbufSubstrAfter(FFstrbuf* strbuf, uint32_t index)
if(strbuf->allocated == 0)
{
//static string
strbuf->length -= index;
strbuf->chars += index;
strbuf->length -= index + 1;
strbuf->chars += index + 1;
return;
}