summaryrefslogtreecommitdiffstats
path: root/plugins/contacts/symbian/contactsmodel/cntsrv/src/ccntbackuprestoreagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/contacts/symbian/contactsmodel/cntsrv/src/ccntbackuprestoreagent.cpp')
-rw-r--r--plugins/contacts/symbian/contactsmodel/cntsrv/src/ccntbackuprestoreagent.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/contacts/symbian/contactsmodel/cntsrv/src/ccntbackuprestoreagent.cpp b/plugins/contacts/symbian/contactsmodel/cntsrv/src/ccntbackuprestoreagent.cpp
index e16e9be9a3..0f1d51b282 100644
--- a/plugins/contacts/symbian/contactsmodel/cntsrv/src/ccntbackuprestoreagent.cpp
+++ b/plugins/contacts/symbian/contactsmodel/cntsrv/src/ccntbackuprestoreagent.cpp
@@ -158,7 +158,10 @@ void CCntBackupRestoreAgent::CreateBackupRegistrationFileL(const TDesC& aFileNam
HBufC* nameAndExt = NULL;
nameAndExt = HBufC::NewLC(KSqLiteFilePrefix().Length() + parseFileName.NameAndExt().Length());
- nameAndExt->Des().Append(KSqLiteFilePrefix);
+ if (parseFileName.NameAndExt().Compare(KContactsIniFileName) != 0)
+ {
+ nameAndExt->Des().Append(KSqLiteFilePrefix);
+ }
nameAndExt->Des().Append(parseFileName.NameAndExt());
// Convert filename and extension to UTF8 before writing to file.