forked from osmocom/wireshark
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 "<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:
parent
dd9f8286cc
commit
1dc3659de4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue