File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ bool visualStudioProject::createProjectFile(){
3030 findandreplaceInTexfile (user," emptyExample" ,projectName);
3131 findandreplaceInTexfile (project," emptyExample" ,projectName);
3232
33- std::string relRoot = getOFRelPath (ofFilePath::removeTrailingSlash (projectDir));
33+ std::string relRoot = getOFRelPath (projectDir.string ());
34+
3435 if (relRoot != " ../../../" ){
3536
3637 std::string relRootWindows = relRoot;
Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ of::filesystem::path getOFRelPathFS(const of::filesystem::path & from) {
412412}
413413
414414std::string getOFRelPath (const std::string & from) {
415- return getOFRelPathFS (from).string ();
415+ return ofFilePath::addTrailingSlash ( getOFRelPathFS (from).string () );
416416}
417417
418418bool checkConfigExists (){
You can’t perform that action at this time.
0 commit comments