aboutsummaryrefslogtreecommitdiffstats
path: root/ui/win32
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-01-23 22:23:37 +0000
committerGuy Harris <guy@alum.mit.edu>2012-01-23 22:23:37 +0000
commite33f160de615b6c210e7f490abff39a40b97911c (patch)
tree943a75da83d99b90b106a9ad5428821c90f60d12 /ui/win32
parent4e7f5c2e8ff8d59627fc328ebce5566165f1b7e8 (diff)
downloadwireshark-e33f160de615b6c210e7f490abff39a40b97911c.tar.gz
wireshark-e33f160de615b6c210e7f490abff39a40b97911c.tar.bz2
wireshark-e33f160de615b6c210e7f490abff39a40b97911c.zip
g_string_append_printf() returns nothing.
svn path=/trunk/; revision=40676
Diffstat (limited to 'ui/win32')
-rw-r--r--ui/win32/file_dlg_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c
index 34182ff8f7..1c3ed0239a 100644
--- a/ui/win32/file_dlg_win32.c
+++ b/ui/win32/file_dlg_win32.c
@@ -323,7 +323,7 @@ win32_save_as_file(HWND h_wnd, action_after_save_e action_after_save, gpointer a
file_last_dot = strrchr(file_name8->str,'.');
if(file_last_dot == NULL || strlen(file_name8->str)-(file_last_dot-file_name8->str) > 5+1) {
if(wtap_file_extension_default_string(filetype) != NULL) {
- file_name8 = g_string_append_printf(file_name8, ".%s", wtap_file_extension_default_string(filetype));
+ g_string_append_printf(file_name8, ".%s", wtap_file_extension_default_string(filetype));
}
}