diff options
Diffstat (limited to 'src/w32.c')
| -rw-r--r-- | src/w32.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1265,7 +1265,7 @@ init_environment (char ** argv) | |||
| 1265 | profile_result = get_folder_path (NULL, CSIDL_APPDATA, NULL, | 1265 | profile_result = get_folder_path (NULL, CSIDL_APPDATA, NULL, |
| 1266 | 0, default_home); | 1266 | 0, default_home); |
| 1267 | 1267 | ||
| 1268 | /* If we can't get the appdata dir, revert to old behaviour. */ | 1268 | /* If we can't get the appdata dir, revert to old behavior. */ |
| 1269 | if (profile_result == S_OK) | 1269 | if (profile_result == S_OK) |
| 1270 | env_vars[0].def_value = default_home; | 1270 | env_vars[0].def_value = default_home; |
| 1271 | } | 1271 | } |
| @@ -2514,7 +2514,7 @@ sys_rename (const char * oldname, const char * newname) | |||
| 2514 | return -1; | 2514 | return -1; |
| 2515 | } | 2515 | } |
| 2516 | 2516 | ||
| 2517 | /* Emulate Unix behaviour - newname is deleted if it already exists | 2517 | /* Emulate Unix behavior - newname is deleted if it already exists |
| 2518 | (at least if it is a file; don't do this for directories). | 2518 | (at least if it is a file; don't do this for directories). |
| 2519 | 2519 | ||
| 2520 | Since we mustn't do this if we are just changing the case of the | 2520 | Since we mustn't do this if we are just changing the case of the |