summaryrefslogtreecommitdiff
path: root/src/modules/fonts/FontService.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-02-22 09:34:08 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-02-22 09:34:08 +0000
commita02a0413bd3b34fe9a82f257de1245d374e14517 (patch)
tree1be87fbf1e5aa7f7edbccc796bbc1c66b893acf5 /src/modules/fonts/FontService.cpp
parent733e5fc3e4a4839652b7fdf2a1a8e39370dc9cf3 (diff)
- translation fixes (patch from wishmaster)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3683 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/fonts/FontService.cpp')
-rw-r--r--src/modules/fonts/FontService.cpp8
1 files changed, 4 insertions, 4 deletions
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);