summaryrefslogtreecommitdiffstats
path: root/term_ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'term_ps.c')
-rw-r--r--term_ps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/term_ps.c b/term_ps.c
index 68fd15f2..fddad2d0 100644
--- a/term_ps.c
+++ b/term_ps.c
@@ -428,8 +428,7 @@ pspdf_alloc(char *outopts)
const char *pp;
char *v;
- if (NULL == (p = term_alloc(TERMENC_ASCII)))
- return(NULL);
+ p = term_alloc(TERMENC_ASCII);
p->advance = ps_advance;
p->begin = ps_begin;