author | zautrix <zautrix> | 2005-04-04 11:29:55 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-04 11:29:55 (UTC) |
commit | 23db4aa99cb7a5feb540b6be578efaee8ec6ef80 (patch) (unidiff) | |
tree | f60d08e53dc09cf8a9ca901697797de9cf5dc669 /kabc/plugins | |
parent | 69a388bdef8d4a31063f983735d2b7d25775f3cf (diff) | |
download | kdepimpi-23db4aa99cb7a5feb540b6be578efaee8ec6ef80.zip kdepimpi-23db4aa99cb7a5feb540b6be578efaee8ec6ef80.tar.gz kdepimpi-23db4aa99cb7a5feb540b6be578efaee8ec6ef80.tar.bz2 |
sync fixes
-rw-r--r-- | kabc/plugins/file/resourcefile.cpp | 2 |
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 | |||
@@ -196,17 +196,17 @@ bool ResourceFile::doOpen() | |||
196 | if ( ok ) | 196 | if ( ok ) |
197 | file.close(); | 197 | file.close(); |
198 | 198 | ||
199 | return ok; | 199 | return ok; |
200 | } else { | 200 | } else { |
201 | if ( !file.open( IO_ReadWrite ) ) | 201 | if ( !file.open( IO_ReadWrite ) ) |
202 | return false; | 202 | return false; |
203 | 203 | ||
204 | if ( file.size() == 0 ) { | 204 | if ( file.size() < 10 ) { |
205 | file.close(); | 205 | file.close(); |
206 | return true; | 206 | return true; |
207 | } | 207 | } |
208 | 208 | ||
209 | bool ok = mFormat->checkFormat( &file ); | 209 | bool ok = mFormat->checkFormat( &file ); |
210 | file.close(); | 210 | file.close(); |
211 | 211 | ||
212 | return ok; | 212 | return ok; |