summaryrefslogtreecommitdiff
path: root/zwgc/tty_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc/tty_filter.c')
-rw-r--r--zwgc/tty_filter.c2
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! */