summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr/reg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AssocMgr/reg.cpp')
-rw-r--r--plugins/AssocMgr/reg.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/AssocMgr/reg.cpp b/plugins/AssocMgr/reg.cpp
index 089d483c70..92451a52d3 100644
--- a/plugins/AssocMgr/reg.cpp
+++ b/plugins/AssocMgr/reg.cpp
@@ -419,12 +419,9 @@ static void BackupRegTree_Worker(HKEY hKey,const char *pszSubKey,struct BackupRe
ptszName=a2t(pszName);
if(ptszName!=NULL) {
if (!RegQueryValueEx(hKey,ptszName,NULL,&dwType,pData,&cbData)) {
- #ifdef _UNICODE
+
WriteDbBackupData(*param->ppszDbPrefix,dwType,pData,cbData);
- #else
- if (!(dwType&REGF_ANSI)) /* sanity check, never happens */
- WriteDbBackupData(*param->ppszDbPrefix,dwType&REGF_ANSI,pData,cbData);
- #endif
+
}
mir_free(ptszName);
}