From 58973a21a30bf95427fd43c456e41e35c386218c Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 15 Jun 2012 18:52:16 +0000 Subject: another portion of "#ifsef Unicode" removal git-svn-id: http://svn.miranda-ng.org/main/trunk@434 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mmap_SA/Import_SA/encryption.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'plugins/Dbx_mmap_SA/Import_SA/encryption.c') diff --git a/plugins/Dbx_mmap_SA/Import_SA/encryption.c b/plugins/Dbx_mmap_SA/Import_SA/encryption.c index f261581041..ede73c006a 100644 --- a/plugins/Dbx_mmap_SA/Import_SA/encryption.c +++ b/plugins/Dbx_mmap_SA/Import_SA/encryption.c @@ -93,16 +93,11 @@ void InitSecurity() _snprintf(buf,SIZEOF(buf),"%d.%d.%d.%d", HIBYTE(HIWORD(Modules[ModulesCount]->cryptor->Version)), LOBYTE(HIWORD(Modules[ModulesCount]->cryptor->Version)), HIBYTE(LOWORD(Modules[ModulesCount]->cryptor->Version)), LOBYTE(LOWORD(Modules[ModulesCount]->cryptor->Version))); // Unsane: none /* -#ifdef _UNICODE + mbstowcs(Name, Modules[ModulesCount]->cryptor->Name, 100); mbstowcs(Version, buf, 100); mbstowcs(DllName, Modules[ModulesCount]->dllname, 100); -#else - strcpy(Name, Modules[ModulesCount]->cryptor->Name); - strcpy(Version, buf); - strcpy(DllName, Modules[ModulesCount]->dllname); -#endif */ AddMessage(LPGEN("Cryptor loaded: %s [%s] (%s)"), Modules[ModulesCount]->cryptor->Name, buf, Modules[ModulesCount]->dllname); -- cgit v1.2.3