printutils OK, add va_end to variadic functions (#294)

* printutils OK

* Add va_end to every variadic function
This commit is contained in:
EllipticEllipsis
2021-09-24 00:14:12 +01:00
committed by GitHub
parent 2ff7320409
commit 9e4d51fb9f
5 changed files with 26 additions and 8 deletions
+4
View File
@@ -153,6 +153,8 @@ void FaultDrawer_Printf(const char* fmt, ...) {
va_start(args, fmt);
FaultDrawer_VPrintf(fmt, args);
va_end(args);
}
void FaultDrawer_DrawText(s32 x, s32 y, const char* fmt, ...) {
@@ -161,6 +163,8 @@ void FaultDrawer_DrawText(s32 x, s32 y, const char* fmt, ...) {
FaultDrawer_SetCursor(x, y);
FaultDrawer_VPrintf(fmt, args);
va_end(args);
}
void FaultDrawer_SetDrawerFB(void* fb, u16 w, u16 h) {