summaryrefslogtreecommitdiffstats
path: root/Project/AboutForm.cpp
diff options
context:
space:
mode:
authorThales Lima <thaleslima.ufu@gmail.com>2017-10-21 11:57:45 -0200
committerThales Lima <thaleslima.ufu@gmail.com>2017-10-21 11:57:45 -0200
commitb1b026397c58c45c46ca7a525fb1e98b20ddfab8 (patch)
tree224130696322c70d8296119603b36b7fcee3cc25 /Project/AboutForm.cpp
parentf6a410c1c23bb0cf75d218354cb1f7e21c420fb3 (diff)
downloadPSP.git-b1b026397c58c45c46ca7a525fb1e98b20ddfab8.tar.gz
PSP.git-b1b026397c58c45c46ca7a525fb1e98b20ddfab8.tar.xz
PSP.git-b1b026397c58c45c46ca7a525fb1e98b20ddfab8.zip
Several changes and bugfixes to compile the program on linux (ubuntu-xenial-amb64)
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 {