summaryrefslogtreecommitdiff
path: root/zen
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:19:32 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:19:32 +0200
commitfb92b230692aa7809620ef7ab72a514f840c877e (patch)
treeed711496dbbc9f56366c90a920ebf56622909a95 /zen
parent5.1 (diff)
downloadFreeFileSync-fb92b230692aa7809620ef7ab72a514f840c877e.tar.gz
FreeFileSync-fb92b230692aa7809620ef7ab72a514f840c877e.tar.bz2
FreeFileSync-fb92b230692aa7809620ef7ab72a514f840c877e.zip
5.2
Diffstat (limited to 'zen')
-rw-r--r--zen/zstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/zstring.cpp b/zen/zstring.cpp
index d37fa522..622fb975 100644
--- a/zen/zstring.cpp
+++ b/zen/zstring.cpp
@@ -127,7 +127,7 @@ int z_impl::compareFilenamesWin(const wchar_t* lhs, const wchar_t* rhs, size_t s
const auto minSize = static_cast<unsigned int>(std::min(sizeLhs, sizeRhs));
int rv = 0;
- if (minSize >= 0) //LCMapString does not allow input sizes of 0!
+ if (minSize > 0) //LCMapString does not allow input sizes of 0!
{
if (minSize <= MAX_PATH) //performance optimization: stack
{
bgstack15