summaryrefslogtreecommitdiffstats
path: root/Project/AboutForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/AboutForm.cpp')
-rw-r--r--Project/AboutForm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/AboutForm.cpp b/Project/AboutForm.cpp
index 5de1d2d..18d4352 100644
--- a/Project/AboutForm.cpp
+++ b/Project/AboutForm.cpp
@@ -78,7 +78,7 @@ void AboutForm::Init()
wxString licenseStr = "";
wxTextFile file;
wxFileName fn(wxStandardPaths::Get().GetExecutablePath());
- wxString licensePath = fn.GetPath() + "\\..\\data\\LICENSE";
+ wxString licensePath = fn.GetPath() + wxFileName::DirName("\\..\\data\\LICENSE", wxPATH_WIN).GetPath();
if(!file.Open(licensePath)) {
// Error message
} else {