Append the trailing ), don't overwrite the string.

svn path=/trunk/; revision=40637
This commit is contained in:
Guy Harris 2012-01-21 22:07:49 +00:00
parent d887821ef6
commit 34d26e6ee0
1 changed files with 1 additions and 1 deletions

View File

@ -1482,7 +1482,7 @@ build_file_type_list(gboolean save, int *item_to_select) {
g_string_append_printf(str, "%c%s", sep, (char *)extension->data);
sep = ';';
}
g_string_printf(str, ")");
g_string_append_printf(str, ")");
str16 = utf_8to16(str->str);
sa = g_array_append_vals(sa, str16, (guint) strlen(str->str));
sa = g_array_append_val(sa, zero);