diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-12-02 03:22:45 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-12-02 03:22:45 +0000 |
commit | 45de5ad91ece165deb82506f52904d40182c1192 (patch) | |
tree | bad196f56f27484358fd7b8e95d62dbc2db76cc2 /win32 | |
parent | 6e43072b5cbeeef30566af0e1aee45255ff02fb4 (diff) |
Remove an incorrect (uninformed) comment recently added my me.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35101 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'win32')
-rw-r--r-- | win32/file_dlg_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |