From 3276376d1be74b66970b88c3e941dcedf8d22474 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 1 Oct 2017 14:04:47 +0100 Subject: 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. --- misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc.c') 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); -- cgit v1.1