Skip to content

Commit 860e194

Browse files
author
Ravbug
committed
wchar mac
1 parent 6746a78 commit 860e194

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/globals.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ static inline void reveal(const std::string& fspath){
269269
path p(fspath);
270270
str = p.parent_path().string();
271271
}
272-
wxExecute(wxT("open \"" + str + "\""),wxEXEC_ASYNC);
272+
auto command = std::string("open \"") + str + "\"";
273+
wxExecute(command, wxEXEC_ASYNC);
273274
}
274275

275276
/**

0 commit comments

Comments
 (0)