From 314eeb0078d801ddc34718603cad4fa690392496 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 27 Nov 2010 22:34:19 +0800 Subject: [PATCH] Fixed Video_DrawText passing too many arguments to _SysDebug - _SysDebug has a maximum of 5 parameters (not including the format) --- Usermode/Applications/axwin2_src/WM/video_text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Usermode/Applications/axwin2_src/WM/video_text.c b/Usermode/Applications/axwin2_src/WM/video_text.c index 87a72f03..ed297e28 100644 --- a/Usermode/Applications/axwin2_src/WM/video_text.c +++ b/Usermode/Applications/axwin2_src/WM/video_text.c @@ -63,8 +63,8 @@ int Video_DrawText(short X, short Y, short W, short H, tFont *Font, uint32_t Col tGlyph *glyph; uint32_t ch = 0; - _SysDebug("Video_DrawText: (X=%i,Y=%i,W=%i,H=%i,Font=%p,Color=%08x,Text='%s')", - X, Y, W, H, Font, Color, Text); + _SysDebug("Video_DrawText: (X=%i,Y=%i,W=%i,H=%i,Font=%p,", X, Y, W, H, Font); + _SysDebug(" Color=%08x,Text='%s')", Color, Text); // Check the bounds if(W < 0 || X < 0 || X >= giScreenWidth) return 0; -- 2.20.1