From 6e9fdc3fe2856efa0e911167622a8910d67644b4 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Thu, 2 Dec 2010 03:22:45 +0000 Subject: [PATCH] Remove an incorrect (uninformed) comment recently added my me. svn path=/trunk/; revision=35101 --- win32/file_dlg_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/file_dlg_win32.c b/win32/file_dlg_win32.c index 60afe8ed8b..5f93cfc37b 100644 --- a/win32/file_dlg_win32.c +++ b/win32/file_dlg_win32.c @@ -301,7 +301,7 @@ win32_save_as_file(HWND h_wnd, action_after_save_e action_after_save, gpointer a /* append the default file extension if there's none given by the user */ /* (we expect a file extension to be at most 5 chars + the dot) */ file_name8 = g_string_new(utf_16to8(file_name16)); - file_last_dot = strrchr(file_name8->str,'.'); /* XXX: strrchr not really OK for utf8 ? */ + 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(file_name8, wtap_file_extension_default_string(filetype));