diff options
Diffstat (limited to 'plugins/SpellChecker/src/spellchecker.cpp')
| -rw-r--r-- | plugins/SpellChecker/src/spellchecker.cpp | 10 | 
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;  			}  | 
