From 85890b88df7d4cc315167409e6364418e5348324 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 3 Aug 2004 20:57:06 +0000 Subject: Const policed the grayscale lib & plugin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4985 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/gray_putsxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/lib/gray_putsxy.c') diff --git a/apps/plugins/lib/gray_putsxy.c b/apps/plugins/lib/gray_putsxy.c index 18cf2bac78..51f1ca166a 100644 --- a/apps/plugins/lib/gray_putsxy.c +++ b/apps/plugins/lib/gray_putsxy.c @@ -34,7 +34,7 @@ ---------------------------------------------------------------------------- The drawmode is used as described for gray_set_drawmode() */ -void gray_putsxy(int x, int y, unsigned char *str) +void gray_putsxy(int x, int y, const unsigned char *str) { int ch, width; bitmap_t *bits; @@ -56,7 +56,7 @@ void gray_putsxy(int x, int y, unsigned char *str) bits = pf->bits + (pf->offset ? pf->offset[ch] : MULU16(pf->height, ch)); - gray_drawbitmap((unsigned char*) bits, x, y, width, pf->height, + gray_drawbitmap((const unsigned char*) bits, x, y, width, pf->height, width); x += width; } -- cgit v1.2.3