get stb_sprintf working for MD_String8s

This commit is contained in:
ryanfleury
2021-06-30 12:47:53 -06:00
parent d0717e3b5f
commit 5358883431
3 changed files with 6 additions and 7 deletions
+2 -4
View File
@@ -583,13 +583,11 @@ cl = lg; \
MD_String8 str = va_arg(va, MD_String8);
//- rjf: get string length
s = (char *)str.str;
sn = (const char *)(str.str + str.size);
l = str.size;
//- rjf: clamp to precision
if (l > (stbsp__uint32)pr)
{
l = pr;
}
lead[0] = 0;
tail[0] = 0;
pr = 0;