mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
12 lines
461 B
Diff
12 lines
461 B
Diff
--- src/chmhtmlwindow.cpp_orig 2026-03-21 19:50:06
|
|
+++ src/chmhtmlwindow.cpp 2026-03-21 19:50:58
|
|
@@ -42,7 +42,7 @@
|
|
|
|
bool OnDropFiles(wxCoord /* x */, wxCoord /* y */, const wxArrayString& filenames) override
|
|
{
|
|
- if (filenames.size() == 1 && filenames[0].Lower().ends_with(".chm")) {
|
|
+ if (filenames.size() == 1 && filenames[0].Lower().EndsWith(".chm")) {
|
|
_frame->LoadCHM(filenames[0]);
|
|
return true;
|
|
}
|