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.
This commit is contained in:
Simon Tatham
2017-10-01 14:04:47 +01:00
parent b3243d7504
commit 3276376d1b
16 changed files with 83 additions and 65 deletions

3
ps.c
View File

@ -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;