summaryrefslogtreecommitdiffabout
path: root/libkcal
authorzautrix <zautrix>2005-03-21 14:42:01 (UTC)
committer zautrix <zautrix>2005-03-21 14:42:01 (UTC)
commit6e5a0c6cff04fff115e63b62537c5274dc7a5564 (patch) (unidiff)
tree5d40aadc33768fa31036aefdf965462248358361 /libkcal
parent3bd97904e69bf586122ad82d279c37db0861eefb (diff)
downloadkdepimpi-6e5a0c6cff04fff115e63b62537c5274dc7a5564.zip
kdepimpi-6e5a0c6cff04fff115e63b62537c5274dc7a5564.tar.gz
kdepimpi-6e5a0c6cff04fff115e63b62537c5274dc7a5564.tar.bz2
fix
Diffstat (limited to 'libkcal') (more/less context) (show whitespace changes)
-rw-r--r--libkcal/kincidenceformatter.cpp4
1 files changed, 2 insertions, 2 deletions
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)
382 text.replace( '<' , "&lt;" ); 382 text.replace( '<' , "&lt;" );
383 text.replace( '>' , "&gt;" ); 383 text.replace( '>' , "&gt;" );
384#else 384#else
385 if ( text.find ('<') > 0 ) { 385 if ( text.find ('<') >= 0 ) {
386 text.replace( QRegExp("<") , "&lt;" ); 386 text.replace( QRegExp("<") , "&lt;" );
387 } 387 }
388 if ( text.find ('>') > 0 ) { 388 if ( text.find ('>') >= 0 ) {
389 text.replace( QRegExp(">") , "&gt;" ); 389 text.replace( QRegExp(">") , "&gt;" );
390 } 390 }
391#endif 391#endif