If "Help -> About Wireshark" is selected from Wireshark's main menu an error
message pops up:

Could not open file "<DevelopmentPath>\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.

svn path=/trunk/; revision=32596
This commit is contained in:
Jeff Morriss 2010-04-29 13:12:54 +00:00
parent dd9f8286cc
commit 1dc3659de4
1 changed files with 4 additions and 0 deletions

View File

@ -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;