chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: relieve frontends of the duty to call
[sgt-puzzles.git]
/
ps.c
diff --git
a/ps.c
b/ps.c
index 9dc03e802dceb0c5553cdc0fbbed827223d39142..a1f21d6e92877896a0da350e73f0caf18ce7b8ca 100644
(file)
--- a/
ps.c
+++ b/
ps.c
@@
-334,7
+334,7
@@
psdata *ps_init(FILE *outfile, int colour)
ps->ytop = 0;
ps->clipped = FALSE;
ps->hatchthick = ps->hatchspace = ps->gamewidth = ps->gameheight = 0;
- ps->drawing = drawing_
init(&ps_drawing
, ps);
+ ps->drawing = drawing_
new(&ps_drawing, NULL
, ps);
return ps;
}