From: morriss Date: Thu, 29 Apr 2010 13:12:54 +0000 (+0000) Subject: From Michael Speck via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4726 : X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=3743bca40cdf821fcd4c15a5dfdbac1d88b5a99a;p=obnox%2Fwireshark%2Fwip.git From Michael Speck via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4726 : If "Help -> About Wireshark" is selected from Wireshark's main menu an error message pops up: Could not open file "\Wireshark_Source\wireshark-gtk2\COPYING": No such file or directory The attached patch handles this situation by looking for COPYING.txt instead of COPYING on windows systems. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32596 f5534014-38df-0310-8fa8-9805f1628bb7 --- diff --git a/gtk/about_dlg.c b/gtk/about_dlg.c index 69d31b5bf1..a4dbc66479 100644 --- a/gtk/about_dlg.c +++ b/gtk/about_dlg.c @@ -475,7 +475,11 @@ about_license_page_new(void) GtkWidget *page; char *absolute_path; +#if defined(_WIN32) + absolute_path = get_datafile_path("COPYING.txt"); +#else absolute_path = get_datafile_path("COPYING"); +#endif page = text_page_new(absolute_path); return page;