diff options
Diffstat (limited to 'zwgc/tty_filter.c')
-rw-r--r-- | zwgc/tty_filter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zwgc/tty_filter.c b/zwgc/tty_filter.c index 1dffb70..6f3e4db 100644 --- a/zwgc/tty_filter.c +++ b/zwgc/tty_filter.c @@ -80,7 +80,8 @@ char **argv; string_dictionary_binding *b; int isrealtty = string_Eq(drivername, "tty"); - termcap_dict = string_dictionary_Create(7); + if (termcap_dict == (string_dictionary) NULL) + termcap_dict = string_dictionary_Create(7); if (!(term = getenv("TERM"))) { /* Only use termcap if $TERM. */ if (isrealtty && !notfirst) |