aboutsummaryrefslogtreecommitdiffstats
path: root/ui/win32/file_dlg_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/win32/file_dlg_win32.c')
-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 c66b0f4537..9a2eed528c 100644
--- a/ui/win32/file_dlg_win32.c
+++ b/ui/win32/file_dlg_win32.c
@@ -264,7 +264,7 @@ win32_check_save_as_with_comments(HWND parent, capture_file *cf, int file_type)
comment_types = cf_comment_types(cf);
/* Does the file's format support all the comments we have? */
- if (wtap_dump_supports_comment_types(cf->cd_t, comment_types)) {
+ if (wtap_dump_supports_comment_types(file_type, comment_types)) {
/* Yes. Let the save happen; we can save all the comments, so
there's no need to delete them. */
return SAVE;