-/* $Id: term_ascii.c,v 1.11 2011/01/02 12:21:07 kristaps Exp $ */
+/* $Id: term_ascii.c,v 1.12 2011/01/25 17:32:04 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
const char *toks[2];
char *v;
- if (NULL == (p = term_alloc(TERMENC_ASCII)))
- return(NULL);
+ p = term_alloc(TERMENC_ASCII);
p->tabwidth = 5;
p->defrmargin = 78;
-/* $Id: term_ps.c,v 1.45 2010/09/27 23:03:44 schwarze Exp $ */
+/* $Id: term_ps.c,v 1.46 2011/01/25 17:32:04 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
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;