Fixed Video_DrawText passing too many arguments to _SysDebug
authorJohn Hodge <[email protected]>
Sat, 27 Nov 2010 14:34:19 +0000 (22:34 +0800)
committerJohn Hodge <[email protected]>
Sat, 27 Nov 2010 14:34:19 +0000 (22:34 +0800)
- _SysDebug has a maximum of 5 parameters (not including the format)

Usermode/Applications/axwin2_src/WM/video_text.c

index 87a72f0..ed297e2 100644 (file)
@@ -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;

UCC git Repository :: git.ucc.asn.au