aboutsummaryrefslogtreecommitdiff
path: root/ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ps.c')
-rw-r--r--ps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ps.c b/ps.c
index ac021aa..0e469fb 100644
--- a/ps.c
+++ b/ps.c
@@ -232,7 +232,7 @@ static void ps_line_width(void *handle, float width)
ps_printf(ps, "%g setlinewidth\n", width);
}
-static void ps_line_dotted(void *handle, int dotted)
+static void ps_line_dotted(void *handle, bool dotted)
{
psdata *ps = (psdata *)handle;
@@ -408,7 +408,7 @@ static const struct drawing_api ps_drawing = {
ps_text_fallback,
};
-psdata *ps_init(FILE *outfile, int colour)
+psdata *ps_init(FILE *outfile, bool colour)
{
psdata *ps = snew(psdata);