From d93d3e94f78543c912528ca043a6d78bc82b12b2 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 22 Oct 2004 02:36:36 +0000 Subject: bugfix --- (limited to 'kabc/vcard') diff --git a/kabc/vcard/VCardEntity.cpp b/kabc/vcard/VCardEntity.cpp index b676cc7..2a9e275 100644 --- a/kabc/vcard/VCardEntity.cpp +++ b/kabc/vcard/VCardEntity.cpp @@ -124,6 +124,7 @@ VCardEntity::_parse() if ( i+add < len && strRep_.at(i+add++) == 'A') if ( i+add < len && strRep_.at(i+add++) == 'R') if ( i+add < len && strRep_.at(i+add++) == 'D') + if ( i+add < len && (strRep_.at(i+add) == '\r' || strRep_.at(i+add) == '\n' )) break; } ++i; @@ -139,7 +140,7 @@ VCardEntity::_parse() i+= 11; } #endif - //qDebug("***time %d found %d", tim.elapsed(), num); + qDebug("***time %d found %d", tim.elapsed(), num); } void -- cgit v0.9.0.2