From e5cb033463036b182fb6e5e3eed50a14987f5300 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Jun 2015 18:19:34 +0000 Subject: SKINICONDESC -> MAllStrings git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SpellChecker/src/spellchecker.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/SpellChecker') diff --git a/plugins/SpellChecker/src/spellchecker.cpp b/plugins/SpellChecker/src/spellchecker.cpp index f0191cbabc..6e539a8b19 100644 --- a/plugins/SpellChecker/src/spellchecker.cpp +++ b/plugins/SpellChecker/src/spellchecker.cpp @@ -141,14 +141,14 @@ static int ModulesLoaded(WPARAM, LPARAM) TCHAR path[MAX_PATH]; GetModuleFileName(hInst, path, MAX_PATH); - SKINICONDESC sid = { sizeof(sid) }; + SKINICONDESC sid = { 0 }; sid.flags = SIDF_ALL_TCHAR | SIDF_SORTED; - sid.ptszSection = LPGENT("Spell Checker")_T("/")LPGENT("Flags"); + sid.section.t = LPGENT("Spell Checker")_T("/")LPGENT("Flags"); // Get language flags for (int i = 0; i < languages.getCount(); i++) { Dictionary *p = languages[i]; - sid.ptszDescription = p->full_name; + sid.description.t = p->full_name; char lang[32]; mir_snprintf(lang, SIZEOF(lang), "spell_lang_%d", i); @@ -160,13 +160,13 @@ static int ModulesLoaded(WPARAM, LPARAM) if (hFlag != NULL) { sid.hDefaultIcon = hFlag; - sid.ptszDefaultFile = NULL; + sid.defaultFile.t = NULL; sid.iDefaultIndex = 0; } else { hFlagIcoLib = Skin_GetIcon("spellchecker_unknown"); sid.hDefaultIcon = hFlagIcoLib; - sid.ptszDefaultFile = NULL; + sid.defaultFile.t = NULL; sid.iDefaultIndex = 0; } -- cgit v1.2.3