diff options
Diffstat (limited to 'apps/plugins/puzzles/src/ps.c')
-rw-r--r-- | apps/plugins/puzzles/src/ps.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/puzzles/src/ps.c b/apps/plugins/puzzles/src/ps.c index 2394cc5e8e..ac021aa80a 100644 --- a/apps/plugins/puzzles/src/ps.c +++ b/apps/plugins/puzzles/src/ps.c | |||
@@ -21,7 +21,7 @@ struct psdata { | |||
21 | drawing *drawing; | 21 | drawing *drawing; |
22 | }; | 22 | }; |
23 | 23 | ||
24 | static void ps_printf(psdata *ps, char *fmt, ...) | 24 | static void ps_printf(psdata *ps, const char *fmt, ...) |
25 | { | 25 | { |
26 | va_list ap; | 26 | va_list ap; |
27 | 27 | ||
@@ -73,7 +73,7 @@ static void ps_fill(psdata *ps, int colour) | |||
73 | } | 73 | } |
74 | } | 74 | } |
75 | 75 | ||
76 | static void ps_setcolour_internal(psdata *ps, int colour, char *suffix) | 76 | static void ps_setcolour_internal(psdata *ps, int colour, const char *suffix) |
77 | { | 77 | { |
78 | int hatch; | 78 | int hatch; |
79 | float r, g, b; | 79 | float r, g, b; |
@@ -102,7 +102,8 @@ static void ps_stroke(psdata *ps, int colour) | |||
102 | } | 102 | } |
103 | 103 | ||
104 | static void ps_draw_text(void *handle, int x, int y, int fonttype, | 104 | static void ps_draw_text(void *handle, int x, int y, int fonttype, |
105 | int fontsize, int align, int colour, char *text) | 105 | int fontsize, int align, int colour, |
106 | const char *text) | ||
106 | { | 107 | { |
107 | psdata *ps = (psdata *)handle; | 108 | psdata *ps = (psdata *)handle; |
108 | 109 | ||