From 268d2ffe8b533890b408740db1a6a3730dfd8597 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 17 May 2015 14:03:01 +0200 Subject: - some code cleanup and modernization trying to fix "dr memory" reports (though they were almost certainly false positives) - there is now a 50ms timeout on logging messages - bugfix: leaked handles after directory searches --- src/shared/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/util.h') diff --git a/src/shared/util.h b/src/shared/util.h index 14017526..1e498059 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -42,6 +42,8 @@ std::string ToLower(const std::string &text); std::wstring &ToLower(std::wstring &text); std::wstring ToLower(const std::wstring &text); +bool CaseInsensitiveEqual(const std::wstring &lhs, const std::wstring &rhs); + VS_FIXEDFILEINFO GetFileVersion(const std::wstring &fileName); } // namespace MOShared -- cgit v1.3.1