Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Commit 0ec6219

Browse files
adding quotation to path dir saved in script for #13
1 parent 5478d59 commit 0ec6219

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

System-Setup/System-Setup/SystemSetup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <shlobj.h>
1010
#include <tchar.h>
1111

12-
#include "SystemSetup.h"
12+
#include "SystemSetup.h" // only contains func declarations
1313

1414
int main()
1515
{
@@ -137,7 +137,7 @@ std::string GetPathToFile(const std::string& file_path)
137137
if (TryToOpenFile(dir + file_path))
138138
{
139139
std::cout << " PASS!" << std::endl;
140-
return dir += "\\"; // why extra backslash https://stackoverflow.com/questions/29190444/invalid-syntax-with-setx-for-having-more-than-two-arguments-when-there-are-onl
140+
return "\"" + dir += "\"\\"; // why extra backslash https://stackoverflow.com/questions/29190444/invalid-syntax-with-setx-for-having-more-than-two-arguments-when-there-are-onl && https://github.com/prince-chrismc/Computer-Graphics/issues/13
141141
}
142142
else
143143
{

0 commit comments

Comments
 (0)