summaryrefslogtreecommitdiff
path: root/FreeFileSync.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 16:56:34 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 16:56:34 +0200
commit9084fa27f0f43cfa31dbc3a7ef87e2600c2dc3ca (patch)
tree61e2edc315a164d6fa3940b7de4b14dda0a9838c /FreeFileSync.h
parent1.15 (diff)
downloadFreeFileSync-9084fa27f0f43cfa31dbc3a7ef87e2600c2dc3ca.tar.gz
FreeFileSync-9084fa27f0f43cfa31dbc3a7ef87e2600c2dc3ca.tar.bz2
FreeFileSync-9084fa27f0f43cfa31dbc3a7ef87e2600c2dc3ca.zip
1.16
Diffstat (limited to 'FreeFileSync.h')
-rw-r--r--FreeFileSync.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/FreeFileSync.h b/FreeFileSync.h
index c4771171..4d140769 100644
--- a/FreeFileSync.h
+++ b/FreeFileSync.h
@@ -47,8 +47,7 @@ namespace FreeFileSync
filterIsActive(false), //do not filter by default
includeFilter(wxT("*")), //include all files/folders
excludeFilter(wxEmptyString), //exclude nothing
- useRecycleBin(FreeFileSync::recycleBinExists()), //enable if OS supports it; else user will have to activate first and then get an error message
- ignoreErrors(false) {}
+ useRecycleBin(FreeFileSync::recycleBinExists()) {} //enable if OS supports it; else user will have to activate first and then get an error message
//Compare setting
CompareVariant compareVar;
@@ -61,10 +60,8 @@ namespace FreeFileSync
wxString includeFilter;
wxString excludeFilter;
-
//misc options
bool useRecycleBin; //use Recycle bin when deleting or overwriting files while synchronizing
- bool ignoreErrors; //hides error messages during synchronization
};
@@ -97,7 +94,7 @@ namespace FreeFileSync
if (aLength != bLength)
return aLength < bLength;
#ifdef FFS_WIN //Windows does NOT distinguish between upper/lower-case
- return relativeName.CmpNoCase(b.relativeName) < 0; //implementing a (reverse) comparison manually is a lot slower!
+ return FreeFileSync::compareStringsWin32(relativeName.c_str(), b.relativeName.c_str()) < 0; //implementing a (reverse) comparison manually is a lot slower!
#elif defined FFS_LINUX //Linux DOES distinguish between upper/lower-case
return relativeName.Cmp(b.relativeName) < 0;
#endif
bgstack15