diff options
-rw-r--r-- | win32/mingw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/mingw.c b/win32/mingw.c index 6544d11ad..273b8d840 100644 --- a/win32/mingw.c +++ b/win32/mingw.c | |||
@@ -2306,7 +2306,7 @@ int chdir_system_drive(void) | |||
2306 | const char *sd = get_system_drive(); | 2306 | const char *sd = get_system_drive(); |
2307 | int ret = -1; | 2307 | int ret = -1; |
2308 | 2308 | ||
2309 | if (sd) | 2309 | if (*sd) |
2310 | ret = chdir(auto_string(concat_path_file(sd, ""))); | 2310 | ret = chdir(auto_string(concat_path_file(sd, ""))); |
2311 | return ret; | 2311 | return ret; |
2312 | } | 2312 | } |