aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cfuns-c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cfuns-c.c b/src/lib/cfuns-c.c
index 95c9787f..764c5d6c 100644
--- a/src/lib/cfuns-c.c
+++ b/src/lib/cfuns-c.c
@@ -310,7 +310,7 @@ OPENAXIOM_EXPORT int
oa_chdir(const char* path)
{
#ifdef __MINGW32__
- SetCurrentDirectory(path) ? 0 : -1;
+ return SetCurrentDirectory(path) ? 0 : -1;
#else
return chdir(path);
#endif /* __MINGW32__ */