diff options
author | Thales Lima <thaleslima.ufu@gmail.com> | 2017-10-21 11:57:45 -0200 |
---|---|---|
committer | Thales Lima <thaleslima.ufu@gmail.com> | 2017-10-21 11:57:45 -0200 |
commit | b1b026397c58c45c46ca7a525fb1e98b20ddfab8 (patch) | |
tree | 224130696322c70d8296119603b36b7fcee3cc25 /Project/AboutForm.cpp | |
parent | f6a410c1c23bb0cf75d218354cb1f7e21c420fb3 (diff) | |
download | PSP.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.cpp | 2 |
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 { |