aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32.c b/src/w32.c
index 15903dbceb3..babbcc6df9f 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -1652,7 +1652,7 @@ init_environment (char ** argv)
1652 /* For backwards compatibility, check if a .emacs file exists in C:/ 1652 /* For backwards compatibility, check if a .emacs file exists in C:/
1653 If not, then we can try to default to the appdata directory under the 1653 If not, then we can try to default to the appdata directory under the
1654 user's profile, which is more likely to be writable. */ 1654 user's profile, which is more likely to be writable. */
1655 if (check_existing ("C:/.emacs")) 1655 if (!check_existing ("C:/.emacs"))
1656 { 1656 {
1657 HRESULT profile_result; 1657 HRESULT profile_result;
1658 /* Dynamically load ShGetFolderPath, as it won't exist on versions 1658 /* Dynamically load ShGetFolderPath, as it won't exist on versions