From 1add69b4d9272516021b5db457d70fd5d39aa730 Mon Sep 17 00:00:00 2001 From: kawi Date: Tue, 30 Dec 2014 08:51:50 +0100 Subject: [PATCH] ReDirectory: linux code moved --- base/ReDirectory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/ReDirectory.cpp b/base/ReDirectory.cpp index d8fc298..5bbf67f 100644 --- a/base/ReDirectory.cpp +++ b/base/ReDirectory.cpp @@ -124,8 +124,8 @@ bool ReDirectory::findFirst(const char* pattern, bool isRegExpr){ bool rc = false; if (m_valid){ m_pattern.set(pattern, -1); - m_isRegExpr = isRegExpr; #if defined __linux__ + m_isRegExpr = isRegExpr; if (isRegExpr){ if (m_regExprIsInitialized) regfree(&m_regExpr); -- 2.39.5