From 85231d8ba1831c02d60b5568f33cc568e213d874 Mon Sep 17 00:00:00 2001 From: Steven Tracey Date: Wed, 20 Nov 2024 08:50:34 -0500 Subject: [PATCH] I just need to learn C --- c/libs/GUI/GUI_Paint.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/c/libs/GUI/GUI_Paint.c b/c/libs/GUI/GUI_Paint.c index 5138dde..f375177 100644 --- a/c/libs/GUI/GUI_Paint.c +++ b/c/libs/GUI/GUI_Paint.c @@ -570,12 +570,8 @@ void Paint_DrawString(UWORD Xstart, UWORD Ystart, const char * pString, UWORD Xpoint = Xstart; UWORD Ypoint = Ystart; - Debug("Width: "); - Debug(Paint.Width); - Debug("\n"); - Debug("Height: "); - Debug(Paint.Height); - Debug("\n"); + Debug("Width: %d\n", Paint.Width); + Debug("Height: %d\n", Paint.Height); if (Xstart > Paint.Width || Ystart > Paint.Height) { Debug("Paint_DrawString_EN Input exceeds the normal display range\r\n");