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_getstringsize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/lib/gray_getstringsize.c') diff --git a/apps/plugins/lib/gray_getstringsize.c b/apps/plugins/lib/gray_getstringsize.c index 977b912247..5b6d3e7c49 100644 --- a/apps/plugins/lib/gray_getstringsize.c +++ b/apps/plugins/lib/gray_getstringsize.c @@ -36,7 +36,7 @@ This works exactly the same way as the core lcd_getstringsize(), only that it uses the selected font for grayscale. */ -int gray_getstringsize(unsigned char *str, int *w, int *h) +int gray_getstringsize(const unsigned char *str, int *w, int *h) { int ch; int width = 0; -- cgit v1.2.3