Skip to content

Commit a0d3b95

Browse files
committed
Fix misplaced brace
1 parent e700d6f commit a0d3b95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/interface_derived.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ void MainFrameDerived::OpenProject(const long& index){
400400
}
401401
#if __APPLE__
402402
for (const auto& path : installPaths) {
403-
if (filesystem::exists(path / executable)) {
403+
if (filesystem::exists(path / executable)) {
404404
// mac unlabeled version
405405
auto unlabeledPath = path / executable;
406406
char buffer[16];
@@ -412,8 +412,9 @@ void MainFrameDerived::OpenProject(const long& index){
412412
return;
413413
}
414414
}
415-
#endif
416415
}
416+
#endif
417+
417418

418419
// prompt the user to choose a new editor because we couldn't locate one
419420
wxCommandEvent evt;

0 commit comments

Comments
 (0)