summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/gray_putsxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/gray_putsxy.c')
-rw-r--r--apps/plugins/lib/gray_putsxy.c4
1 files changed, 2 insertions, 2 deletions
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 @@
34 ---------------------------------------------------------------------------- 34 ----------------------------------------------------------------------------
35 The drawmode is used as described for gray_set_drawmode() 35 The drawmode is used as described for gray_set_drawmode()
36 */ 36 */
37void gray_putsxy(int x, int y, unsigned char *str) 37void gray_putsxy(int x, int y, const unsigned char *str)
38{ 38{
39 int ch, width; 39 int ch, width;
40 bitmap_t *bits; 40 bitmap_t *bits;
@@ -56,7 +56,7 @@ void gray_putsxy(int x, int y, unsigned char *str)
56 bits = pf->bits + (pf->offset ? pf->offset[ch] 56 bits = pf->bits + (pf->offset ? pf->offset[ch]
57 : MULU16(pf->height, ch)); 57 : MULU16(pf->height, ch));
58 58
59 gray_drawbitmap((unsigned char*) bits, x, y, width, pf->height, 59 gray_drawbitmap((const unsigned char*) bits, x, y, width, pf->height,
60 width); 60 width);
61 x += width; 61 x += width;
62 } 62 }