From 23db4aa99cb7a5feb540b6be578efaee8ec6ef80 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 04 Apr 2005 11:29:55 +0000 Subject: sync fixes --- (limited to 'kabc/plugins/file') 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; } -- cgit v0.9.0.2