15 lines
473 B
Diff
15 lines
473 B
Diff
--- codelite/CodeLite/cl_standard_paths.cpp.orig 2015-03-11 00:17:21.501400000 +0300
|
|
+++ codelite/CodeLite/cl_standard_paths.cpp 2015-03-11 00:17:51.047800000 +0300
|
|
@@ -125,7 +125,11 @@
|
|
|
|
wxString clStandardPaths::GetProjectTemplatesDir() const
|
|
{
|
|
+#ifdef USE_POSIX_LAYOUT
|
|
+ wxFileName fn(GetDataDir() + wxT(INSTALL_DIR), "");
|
|
+#else
|
|
wxFileName fn(GetDataDir(), "");
|
|
+#endif
|
|
fn.AppendDir("templates");
|
|
fn.AppendDir("projects");
|
|
return fn.GetPath();
|