summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-03-21 21:19:59 +0000
committerOle Loots <ole@monochrom.net>2012-03-21 21:19:59 +0000
commit36dd0cc346494ddf6c6a63351c16b5d90ca8be1b (patch)
treef2e421a26db3fec128848c2fd1b772008d60b01d
parent82d93ef1e63049ed96f547c47c33a628e035817c (diff)
downloadnetsurf-36dd0cc346494ddf6c6a63351c16b5d90ca8be1b.tar.gz
netsurf-36dd0cc346494ddf6c6a63351c16b5d90ca8be1b.tar.bz2
added dbg_rect function.
svn path=/trunk/netsurf/; revision=13546
-rwxr-xr-xatari/misc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/atari/misc.c b/atari/misc.c
index fa8ace9c6..ded8723fb 100755
--- a/atari/misc.c
+++ b/atari/misc.c
@@ -363,6 +363,12 @@ void dbg_pxy( char * str, short * pxy )
{
printf("%s: x: %d, y: %d, w: %d, h: %d\n", str,
pxy[0], pxy[1], pxy[2], pxy[3] );
+}
+
+void dbg_rect( char * str, int * pxy )
+{
+ printf("%s: x: %d, y: %d, w: %d, h: %d\n", str,
+ pxy[0], pxy[1], pxy[2], pxy[3] );
}
/* some LDG functions here to reduce dependencies */