From a02a0413bd3b34fe9a82f257de1245d374e14517 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 22 Feb 2013 09:34:08 +0000 Subject: - translation fixes (patch from wishmaster) git-svn-id: http://svn.miranda-ng.org/main/trunk@3683 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/fonts/FontService.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/fonts/FontService.cpp') diff --git a/src/modules/fonts/FontService.cpp b/src/modules/fonts/FontService.cpp index 3458c91dfe..f1c7aae4e6 100644 --- a/src/modules/fonts/FontService.cpp +++ b/src/modules/fonts/FontService.cpp @@ -90,19 +90,19 @@ int LoadFontserviceModule(void) // create generic fonts FontIDT fontid = { sizeof(fontid) }; strncpy(fontid.dbSettingsGroup, "Fonts", sizeof(fontid.dbSettingsGroup)); - _tcsncpy(fontid.group, _T("General"), SIZEOF(fontid.group)); + _tcsncpy(fontid.group, LPGENT("General"), SIZEOF(fontid.group)); - _tcsncpy(fontid.name, _T("Headers"), SIZEOF(fontid.name)); + _tcsncpy(fontid.name, LPGENT("Headers"), SIZEOF(fontid.name)); fontid.flags = FIDF_APPENDNAME | FIDF_NOAS | FIDF_SAVEPOINTSIZE | FIDF_ALLOWEFFECTS | FIDF_CLASSHEADER; strncpy(fontid.prefix, "Header", SIZEOF(fontid.prefix)); FontRegisterT(&fontid); - _tcsncpy(fontid.name, _T("Generic text"), SIZEOF(fontid.name)); + _tcsncpy(fontid.name, LPGENT("Generic text"), SIZEOF(fontid.name)); fontid.flags = FIDF_APPENDNAME | FIDF_NOAS | FIDF_SAVEPOINTSIZE | FIDF_ALLOWEFFECTS | FIDF_CLASSGENERAL; strncpy(fontid.prefix, "Generic", SIZEOF(fontid.prefix)); FontRegisterT(&fontid); - _tcsncpy(fontid.name, _T("Small text"), SIZEOF(fontid.name)); + _tcsncpy(fontid.name, LPGENT("Small text"), SIZEOF(fontid.name)); fontid.flags = FIDF_APPENDNAME | FIDF_NOAS | FIDF_SAVEPOINTSIZE | FIDF_ALLOWEFFECTS | FIDF_CLASSSMALL; strncpy(fontid.prefix, "Small", SIZEOF(fontid.prefix)); FontRegisterT(&fontid); -- cgit v1.2.3