summaryrefslogtreecommitdiff
path: root/src/rep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rep.c')
-rw-r--r--src/rep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rep.c b/src/rep.c
index 6ff03c3..5eda279 100644
--- a/src/rep.c
+++ b/src/rep.c
@@ -383,7 +383,7 @@ int replaceFolder(r_context* ctx, char* folder)
* Change directory back to where we saved it
* the reason we do this is that in some cases (sub-folders)
*/
- _chdir(old);
+ chdir(old);
}
#ifdef _WIN32