Remove an incorrect (uninformed) comment recently added my me.
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 2 Dec 2010 03:22:45 +0000 (03:22 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 2 Dec 2010 03:22:45 +0000 (03:22 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35101 f5534014-38df-0310-8fa8-9805f1628bb7

win32/file_dlg_win32.c

index 60afe8ed8b4a16f6099fd5835601bcf38f489e46..5f93cfc37b18519c58b42da2a3aef772e3afcf2c 100644 (file)
@@ -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));