Fix print call.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 21 Jan 2012 23:09:40 +0000 (23:09 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 21 Jan 2012 23:09:40 +0000 (23:09 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40638 f5534014-38df-0310-8fa8-9805f1628bb7

ui/win32/file_dlg_win32.c

index aae4ee7cb6c127c8aa4dcba5b2e4eae0e79baed4..533ff84915ecc189a397f6769988055d375b1bc3 100644 (file)
@@ -1493,7 +1493,7 @@ build_file_type_list(gboolean save, int *item_to_select) {
              extension = g_slist_next(extension)) {
             if (sep != '\0')
                 g_string_append_c(str, sep);
-            g_string_append_printf(str, "%s", sep, (char *)extension->data);
+            g_string_append_printf(str, "%c%s", sep, (char *)extension->data);
             sep = ';';
         }
         str16 = utf_8to16(str->str);