diff options
Diffstat (limited to 'kregexpeditor/regexpconverter.cpp')
-rw-r--r-- | kregexpeditor/regexpconverter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kregexpeditor/regexpconverter.cpp b/kregexpeditor/regexpconverter.cpp index 0010102..94b21e0 100644 --- a/kregexpeditor/regexpconverter.cpp +++ b/kregexpeditor/regexpconverter.cpp @@ -33,7 +33,9 @@ RegExpConverter* RegExpConverter::_current = 0; RegExp* RegExpConverter::parse( const TQString&, bool* ok ) { - ok = false; + if(ok) { + *ok = false; + } return new DotRegExp( false ); // This method should never be called. } |