diff options
Diffstat (limited to 'zwgc')
-rw-r--r-- | zwgc/tty_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zwgc/tty_filter.c b/zwgc/tty_filter.c index ea607e9..ee2409c 100644 --- a/zwgc/tty_filter.c +++ b/zwgc/tty_filter.c @@ -378,7 +378,7 @@ convert_desc_to_tty_str_info(desctype *desc) string_dictionary_binding *b; b = string_dictionary_Lookup(termcap_dict,"B.bell"); if (b) { - temp->str = b->value; + temp->str = strdup(b->value); temp->len = string_Length(temp->str); } else /* shouldn't get here! */ |