Forgot to add break :)

And that, is why you test before pushing and commiting >.<
This commit is contained in:
apio 2022-10-08 18:08:50 +02:00
parent c67079dd74
commit 3ee1f34bc4
2 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,7 @@ static int internal_printf(const char* format, PutString put_string_callback, ss
memcpy(buffer + buffer_insert_index, result, strlen(result));
buffer_insert_index += strlen(result);
if (buffer_insert_index == 1024) flush_buffer();
break;
}
case 's': {
const char* str = va_arg(ap, const char*);

View File

@ -249,6 +249,7 @@ static int internal_printf(const char* format, PutString put_string_callback, ss
memcpy(buffer + buffer_insert_index, result, strlen(result));
buffer_insert_index += strlen(result);
if (buffer_insert_index == 1024) flush_buffer();
break;
}
case 's': {
const char* str = va_arg(ap, const char*);