Fix debug symbol generation

This commit is contained in:
gingerBill committed 2017-11-19 16:45:12 +00:00
1 parent 2a5beee88c
commit 74aaa3408f
3 files changed
+19 -21

No files matched your search

+1 -1
View File
@@ -6614,7 +6614,7 @@ gbString gb_string_append_fmt(gbString str, char const *fmt, ...) {
char buf[4096] = {0};
va_list va;
va_start(va, fmt);
res = gb_snprintf_va(str, gb_count_of(buf)-1, fmt, va);
res = gb_snprintf_va(buf, gb_count_of(buf)-1, fmt, va)-1;
va_end(va);
return gb_string_append_length(str, buf, res);
}