From 5975b2d0903bd5df128d55e20cd27d7c13b4e46c Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 16 Jun 2012 17:42:08 +0000 Subject: another portion of "#ifdef Unicode" removal git-svn-id: http://svn.miranda-ng.org/main/trunk@448 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AssocMgr/reg.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/AssocMgr/reg.cpp') 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®F_ANSI)) /* sanity check, never happens */ - WriteDbBackupData(*param->ppszDbPrefix,dwType®F_ANSI,pData,cbData); - #endif + } mir_free(ptszName); } -- cgit v1.2.3