Skip to content

Commit 82b68ce

Browse files
author
Ravbug
committed
fixes
1 parent a1db348 commit 82b68ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/globals.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ void reveal_in_explorer(const std::filesystem::path& path) {
2828
#else
2929
if (std::filesystem::exists(path)) {
3030
#if defined __linux__
31-
std::string command = "xdg-open \"" + path.string() + "\"";
32-
launch_process(command);
31+
std::string command = "xdg-open \"" + path.string() + "\"";
32+
launch_process(command);
3333
#elif defined _WIN32
3434

3535
PIDLIST_ABSOLUTE pidl;
@@ -45,12 +45,12 @@ void reveal_in_explorer(const std::filesystem::path& path) {
4545
}
4646
}
4747
}
48+
#endif
4849
}
4950
else {
5051
wxMessageBox("The item at " + path.string() + " could not be found.", "Cannot Reveal Item", wxOK | wxICON_ERROR);
5152
}
5253
#endif
53-
#endif
5454
}
5555

5656
long wxListCtrl_get_selected(wxListCtrl* listCtrl) {

0 commit comments

Comments
 (0)