summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/drawing.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-10-23 17:19:29 -0400
committerFranklin Wei <git@fwei.tk>2017-10-23 17:19:29 -0400
commitef1306764e6443d67612542654f252b376c5993e (patch)
tree5f064178c1f9a23695b1b52b8bd487434be9006e /apps/plugins/puzzles/src/drawing.c
parent7a8c9daf7ef5a8b38d4c4f6625ff2d9d8eb1aa0a (diff)
downloadrockbox-ef1306764e6443d67612542654f252b376c5993e.tar.gz
rockbox-ef1306764e6443d67612542654f252b376c5993e.zip
puzzles: resync with upstream
There have been some improvements with regard to small screen sizes, which will be nice to have. Change-Id: I30c740514156258d2818fde325c1a751500f7611
Diffstat (limited to 'apps/plugins/puzzles/src/drawing.c')
-rw-r--r--apps/plugins/puzzles/src/drawing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/src/drawing.c b/apps/plugins/puzzles/src/drawing.c
index a10a7f06d6..caf0b4b43a 100644
--- a/apps/plugins/puzzles/src/drawing.c
+++ b/apps/plugins/puzzles/src/drawing.c
@@ -71,7 +71,7 @@ void drawing_free(drawing *dr)
71} 71}
72 72
73void draw_text(drawing *dr, int x, int y, int fonttype, int fontsize, 73void draw_text(drawing *dr, int x, int y, int fonttype, int fontsize,
74 int align, int colour, char *text) 74 int align, int colour, const char *text)
75{ 75{
76 dr->api->draw_text(dr->handle, x, y, fonttype, fontsize, align, 76 dr->api->draw_text(dr->handle, x, y, fonttype, fontsize, align,
77 colour, text); 77 colour, text);
@@ -190,7 +190,7 @@ char *text_fallback(drawing *dr, const char *const *strings, int nstrings)
190 return NULL; /* placate optimiser */ 190 return NULL; /* placate optimiser */
191} 191}
192 192
193void status_bar(drawing *dr, char *text) 193void status_bar(drawing *dr, const char *text)
194{ 194{
195 char *rewritten; 195 char *rewritten;
196 196