]> gitweb.hamatoma.de Git - crepublib/commitdiff
ReDirectory: linux code moved
authorkawi <winfriedkappeler@atron.de>
Tue, 30 Dec 2014 07:51:50 +0000 (08:51 +0100)
committerkawi <winfriedkappeler@atron.de>
Tue, 30 Dec 2014 07:51:50 +0000 (08:51 +0100)
base/ReDirectory.cpp

index d8fc2984276ebdf435805d4dbb48a3d92bec9472..5bbf67fc6260447804c9307deeb064e9933b6c23 100644 (file)
@@ -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);