summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/gray_getstringsize.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-08-03 20:57:06 +0000
committerJens Arnold <amiconn@rockbox.org>2004-08-03 20:57:06 +0000
commit85890b88df7d4cc315167409e6364418e5348324 (patch)
tree636e2874c66355db15f2ef45231294ed504e039f /apps/plugins/lib/gray_getstringsize.c
parent0830339e2f5831575879a6194d43d2e958d8cf64 (diff)
downloadrockbox-85890b88df7d4cc315167409e6364418e5348324.tar.gz
rockbox-85890b88df7d4cc315167409e6364418e5348324.zip
Const policed the grayscale lib & plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4985 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/gray_getstringsize.c')
-rw-r--r--apps/plugins/lib/gray_getstringsize.c2
1 files changed, 1 insertions, 1 deletions
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 @@
36 This works exactly the same way as the core lcd_getstringsize(), only that 36 This works exactly the same way as the core lcd_getstringsize(), only that
37 it uses the selected font for grayscale. 37 it uses the selected font for grayscale.
38 */ 38 */
39int gray_getstringsize(unsigned char *str, int *w, int *h) 39int gray_getstringsize(const unsigned char *str, int *w, int *h)
40{ 40{
41 int ch; 41 int ch;
42 int width = 0; 42 int width = 0;