This commit is contained in:
Daniel Ledda
2025-01-02 18:20:56 +01:00
parent 39ff16b6a6
commit 49e379dd54
9 changed files with 80 additions and 44 deletions

View File

@@ -603,6 +603,7 @@ STBSP__PUBLICDEF int STB_SPRINTF_DECORATE(vsprintfcb)(STBSP_SPRINTFCB *callback,
goto scopy;
case 'S':
{
// string struct
string str = va_arg(va, string);
s = (char *)str.str;
@@ -614,6 +615,7 @@ STBSP__PUBLICDEF int STB_SPRINTF_DECORATE(vsprintfcb)(STBSP_SPRINTFCB *callback,
dp = 0;
cs = 0;
goto scopy;
} break;
case 'c': // char
// get the character