mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
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:
2
misc.c
2
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);
|
||||
|
Reference in New Issue
Block a user