From fb92b230692aa7809620ef7ab72a514f840c877e Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:19:32 +0200 Subject: 5.2 --- zen/zstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zen/zstring.cpp') 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(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 { -- cgit