From 2a815f8820ca402626bd283dd5b75744ddeb9812 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 23 May 2015 18:55:59 +0000 Subject: mir_tstrncpy <> _tcsncpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13791 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 d8f6dac156..166110f2a8 100644 --- a/src/modules/fonts/FontService.cpp +++ b/src/modules/fonts/FontService.cpp @@ -90,22 +90,22 @@ int LoadFontserviceModule(void) // create generic fonts FontIDT fontid = { sizeof(fontid) }; - mir_strncpy(fontid.dbSettingsGroup, "Fonts", sizeof(fontid.dbSettingsGroup)); + strncpy(fontid.dbSettingsGroup, "Fonts", sizeof(fontid.dbSettingsGroup)); _tcsncpy_s(fontid.group, LPGENT("General"), _TRUNCATE); _tcsncpy_s(fontid.name, LPGENT("Headers"), _TRUNCATE); fontid.flags = FIDF_APPENDNAME | FIDF_NOAS | FIDF_SAVEPOINTSIZE | FIDF_ALLOWEFFECTS | FIDF_CLASSHEADER; - mir_strncpy(fontid.prefix, "Header", SIZEOF(fontid.prefix)); + strncpy(fontid.prefix, "Header", SIZEOF(fontid.prefix)); FontRegisterT(&fontid); _tcsncpy_s(fontid.name, LPGENT("Generic text"), _TRUNCATE); fontid.flags = FIDF_APPENDNAME | FIDF_NOAS | FIDF_SAVEPOINTSIZE | FIDF_ALLOWEFFECTS | FIDF_CLASSGENERAL; - mir_strncpy(fontid.prefix, "Generic", SIZEOF(fontid.prefix)); + strncpy(fontid.prefix, "Generic", SIZEOF(fontid.prefix)); FontRegisterT(&fontid); _tcsncpy_s(fontid.name, LPGENT("Small text"), _TRUNCATE); fontid.flags = FIDF_APPENDNAME | FIDF_NOAS | FIDF_SAVEPOINTSIZE | FIDF_ALLOWEFFECTS | FIDF_CLASSSMALL; - mir_strncpy(fontid.prefix, "Small", SIZEOF(fontid.prefix)); + strncpy(fontid.prefix, "Small", SIZEOF(fontid.prefix)); FontRegisterT(&fontid); // do last for silly dyna plugin -- cgit v1.2.3