From: John Hodge Date: Sat, 27 Nov 2010 14:34:19 +0000 (+0800) Subject: Fixed Video_DrawText passing too many arguments to _SysDebug X-Git-Tag: rel0.07~44 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=314eeb0078d801ddc34718603cad4fa690392496;p=tpg%2Facess2.git Fixed Video_DrawText passing too many arguments to _SysDebug - _SysDebug has a maximum of 5 parameters (not including the format) --- 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;