Skip to content
Snippets Groups Projects
Commit c7b46bca authored by Tristan Walter's avatar Tristan Walter
Browse files

small fix for windows (SetCurrentDirectoryA result interpretation)

parent d79e4002
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ namespace cmn {
void CommandLine::cd_home() {
#if defined(WIN32)
if(SetCurrentDirectoryA(_wd.c_str()))
if(!SetCurrentDirectoryA(_wd.c_str()))
#else
if (chdir(_wd.str().c_str()))
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment