git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@4 595ec19a-5cb4-439b-94a8-42fb3063c22c
@@ -36,7 +36,7 @@ CString GetDefaultDBName()
csDefaultPath = string;
csDefaultPath += "\\Ditto\\";
- if(_access(csDefaultPath, 0) != -1)
+ if(_access(csDefaultPath, 0) == -1)
CreateDirectory(csDefaultPath, NULL);
csDefaultPath += DEFAULT_DB_NAME;