diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2004-08-03 20:57:06 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2004-08-03 20:57:06 +0000 |
| commit | 85890b88df7d4cc315167409e6364418e5348324 (patch) | |
| tree | 636e2874c66355db15f2ef45231294ed504e039f /apps/plugins/lib/gray_getstringsize.c | |
| parent | 0830339e2f5831575879a6194d43d2e958d8cf64 (diff) | |
| download | rockbox-85890b88df7d4cc315167409e6364418e5348324.zip rockbox-85890b88df7d4cc315167409e6364418e5348324.tar.gz rockbox-85890b88df7d4cc315167409e6364418e5348324.tar.bz2 rockbox-85890b88df7d4cc315167409e6364418e5348324.tar.xz | |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/gray_getstringsize.c b/apps/plugins/lib/gray_getstringsize.c index 977b912..5b6d3e7 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; |