summaryrefslogtreecommitdiffabout
path: root/kabc/plugins
authorzautrix <zautrix>2005-04-04 11:29:55 (UTC)
committer zautrix <zautrix>2005-04-04 11:29:55 (UTC)
commit23db4aa99cb7a5feb540b6be578efaee8ec6ef80 (patch) (side-by-side diff)
treef60d08e53dc09cf8a9ca901697797de9cf5dc669 /kabc/plugins
parent69a388bdef8d4a31063f983735d2b7d25775f3cf (diff)
downloadkdepimpi-23db4aa99cb7a5feb540b6be578efaee8ec6ef80.zip
kdepimpi-23db4aa99cb7a5feb540b6be578efaee8ec6ef80.tar.gz
kdepimpi-23db4aa99cb7a5feb540b6be578efaee8ec6ef80.tar.bz2
sync fixes
Diffstat (limited to 'kabc/plugins') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/file/resourcefile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/plugins/file/resourcefile.cpp b/kabc/plugins/file/resourcefile.cpp
index af76558..2bd9e71 100644
--- a/kabc/plugins/file/resourcefile.cpp
+++ b/kabc/plugins/file/resourcefile.cpp
@@ -201,7 +201,7 @@ bool ResourceFile::doOpen()
if ( !file.open( IO_ReadWrite ) )
return false;
- if ( file.size() == 0 ) {
+ if ( file.size() < 10 ) {
file.close();
return true;
}