summaryrefslogtreecommitdiff
path: root/gs/psi/zmisc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/psi/zmisc1.c')
-rw-r--r--gs/psi/zmisc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/psi/zmisc1.c b/gs/psi/zmisc1.c
index 3ee8d301e..bdca0c99f 100644
--- a/gs/psi/zmisc1.c
+++ b/gs/psi/zmisc1.c
@@ -135,7 +135,7 @@ zexD(i_ctx_t *i_ctx_p)
if (r_has_type(op - 1, t_file)) {
stream *s = (op - 1)->value.pfile;
- if (s->state != 0 && s->state->template == &s_PFBD_template) {
+ if (s->state != 0 && s->state->templat == &s_PFBD_template) {
stream_PFBD_state *pss = (stream_PFBD_state *)s->state;
state.pfb_state = pss;