aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2017-10-01 14:04:47 +0100
committerSimon Tatham <anakin@pobox.com>2017-10-01 16:35:00 +0100
commit3276376d1be74b66970b88c3e941dcedf8d22474 (patch)
tree573461b9f6efc036d5017700d30c9336fee6d6dd /misc.c
parentb3243d75043cf1d70beb88d2a36eaebfe85c2c3f (diff)
downloadpuzzles-3276376d1be74b66970b88c3e941dcedf8d22474.zip
puzzles-3276376d1be74b66970b88c3e941dcedf8d22474.tar.gz
puzzles-3276376d1be74b66970b88c3e941dcedf8d22474.tar.bz2
puzzles-3276376d1be74b66970b88c3e941dcedf8d22474.tar.xz
Assorted char * -> const char * API changes.
I went through all the char * parameters and return values I could see in puzzles.h by eye and spotted ones that surely ought to have been const all along.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index d555ad2..b6a190b 100644
--- a/misc.c
+++ b/misc.c
@@ -351,7 +351,7 @@ void pos2c(int w, int h, int pos, int *cx, int *cy)
void draw_text_outline(drawing *dr, int x, int y, int fonttype,
int fontsize, int align,
- int text_colour, int outline_colour, char *text)
+ int text_colour, int outline_colour, const char *text)
{
if (outline_colour > -1) {
draw_text(dr, x-1, y, fonttype, fontsize, align, outline_colour, text);