From 6e5a0c6cff04fff115e63b62537c5274dc7a5564 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 21 Mar 2005 14:42:01 +0000 Subject: fix --- (limited to 'libkcal/kincidenceformatter.cpp') diff --git a/libkcal/kincidenceformatter.cpp b/libkcal/kincidenceformatter.cpp index 57a9ede..e506a96 100644 --- a/libkcal/kincidenceformatter.cpp +++ b/libkcal/kincidenceformatter.cpp @@ -382,10 +382,10 @@ QString KIncidenceFormatter::deTag(QString text) text.replace( '<' , "<" ); text.replace( '>' , ">" ); #else - if ( text.find ('<') > 0 ) { + if ( text.find ('<') >= 0 ) { text.replace( QRegExp("<") , "<" ); } - if ( text.find ('>') > 0 ) { + if ( text.find ('>') >= 0 ) { text.replace( QRegExp(">") , ">" ); } #endif -- cgit v0.9.0.2