]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/regex.cpp
fixed fatal typo
[wxWidgets.git] / src / common / regex.cpp
index 44599dfa90fdc155785711cb7df30e2b9d91c438..8983f98d02ed84bc68c91f145cd0d32e31133c34 100644 (file)
@@ -49,7 +49,7 @@
 
 #include "wx/regex.h"
 
 
 #include "wx/regex.h"
 
-#ifdef wxUSE_UNICODE
+#if wxUSE_UNICODE
     #define regerror wx_regerror
     #define regfree wx_regfree
 #endif
     #define regerror wx_regerror
     #define regfree wx_regfree
 #endif
@@ -266,7 +266,7 @@ bool wxRegExImpl::Matches(const wxChar *str, int flags) const
     }
 
     // do match it
     }
 
     // do match it
-#ifdef wxUSE_UNICODE
+#if wxUSE_UNICODE
        rm_detail_t rd;
     int rc = wx_regexec(&self->m_RegEx, str, wxStrlen(str), &rd, m_nMatches, m_Matches, flagsRE);
 #else
        rm_detail_t rd;
     int rc = wx_regexec(&self->m_RegEx, str, wxStrlen(str), &rd, m_nMatches, m_Matches, flagsRE);
 #else