Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravbug committed Dec 23, 2024
1 parent a1db348 commit 82b68ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/globals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ void reveal_in_explorer(const std::filesystem::path& path) {
#else
if (std::filesystem::exists(path)) {
#if defined __linux__
std::string command = "xdg-open \"" + path.string() + "\"";
launch_process(command);
std::string command = "xdg-open \"" + path.string() + "\"";
launch_process(command);
#elif defined _WIN32

PIDLIST_ABSOLUTE pidl;
Expand All @@ -45,12 +45,12 @@ void reveal_in_explorer(const std::filesystem::path& path) {
}
}
}
#endif
}
else {
wxMessageBox("The item at " + path.string() + " could not be found.", "Cannot Reveal Item", wxOK | wxICON_ERROR);
}
#endif
#endif
}

long wxListCtrl_get_selected(wxListCtrl* listCtrl) {
Expand Down

0 comments on commit 82b68ce

Please sign in to comment.