summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/spellchecker.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
commite5cb033463036b182fb6e5e3eed50a14987f5300 (patch)
treec1e0c20c1fb1808f658f4aadf624a57474576eb4 /plugins/SpellChecker/src/spellchecker.cpp
parente2d81fead804c1d7dd557af5d3082ba0399a38c1 (diff)
SKINICONDESC -> MAllStrings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker/src/spellchecker.cpp')
-rw-r--r--plugins/SpellChecker/src/spellchecker.cpp10
1 files changed, 5 insertions, 5 deletions
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;
}