summaryrefslogtreecommitdiff
path: root/pcl/pglfill.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcl/pglfill.c')
-rw-r--r--pcl/pglfill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcl/pglfill.c b/pcl/pglfill.c
index 70a4ad6af..8dcfa8eb1 100644
--- a/pcl/pglfill.c
+++ b/pcl/pglfill.c
@@ -12,6 +12,7 @@
#include "pginit.h"
#include "pggeom.h"
#include "pgdraw.h"
+#include "pgmisc.h"
/* AC [x,y]; Anchor corner for fill offsets, not that this is
different than the anchor corner of the pcl picture frame. */
@@ -26,7 +27,7 @@ hpgl_AC(hpgl_args_t *pargs, hpgl_state_t *pgls)
}
/* draw the current path */
- hpgl_draw_current_path(pgls, hpgl_rm_vector);
+ hpgl_call(hpgl_draw_current_path(pgls, hpgl_rm_vector));
pgls->g.anchor_corner.x = x;
pgls->g.anchor_corner.y = y;