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. --- ps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ps.c') diff --git a/ps.c b/ps.c index 2394cc5..6ec8aac 100644 --- a/ps.c +++ b/ps.c @@ -102,7 +102,8 @@ static void ps_stroke(psdata *ps, int colour) } static void ps_draw_text(void *handle, int x, int y, int fonttype, - int fontsize, int align, int colour, char *text) + int fontsize, int align, int colour, + const char *text) { psdata *ps = (psdata *)handle; -- cgit v1.1