aboutsummaryrefslogtreecommitdiff
path: root/ps.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-09-05 17:21:05 +0000
committerSimon Tatham <anakin@pobox.com>2005-09-05 17:21:05 +0000
commit7096df54deb2b8d3ef230dad4b4e905574236eda (patch)
treedbe144254727fca44de98df6d956139a98b70774 /ps.c
parent56ff3647e272b672f8dca8b947bb571ba30d4742 (diff)
downloadpuzzles-7096df54deb2b8d3ef230dad4b4e905574236eda.zip
puzzles-7096df54deb2b8d3ef230dad4b4e905574236eda.tar.gz
puzzles-7096df54deb2b8d3ef230dad4b4e905574236eda.tar.bz2
puzzles-7096df54deb2b8d3ef230dad4b4e905574236eda.tar.xz
Various patches from Ben H: a fix for an outdated comment, a couple
of spurious ps_printf() arguments removed, and an error check in the `make install' target. [originally from svn r6275]
Diffstat (limited to 'ps.c')
-rw-r--r--ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ps.c b/ps.c
index a2fd619..9dc03e8 100644
--- a/ps.c
+++ b/ps.c
@@ -112,7 +112,7 @@ static void ps_draw_text(void *handle, int x, int y, int fonttype,
ps_setcolour(ps, colour);
ps_printf(ps, "/%s findfont %d scalefont setfont\n",
fonttype == FONT_FIXED ? "Courier" : "Helvetica",
- fontsize, x, y);
+ fontsize);
if (align & ALIGN_VCENTRE) {
ps_printf(ps, "newpath 0 0 moveto (X) true charpath flattenpath"
" pathbbox\n"