diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-03 21:47:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-03 21:47:03 +0000 |
commit | e412759d7e551e3fc4dc4be6e1fae1cd4f308868 (patch) | |
tree | 00ed12238ba8b3735ddf95cf9e79c48d7c411c78 /plugins/SpellChecker | |
parent | 0f95cbb4a9f1c9a613dccb9d53f5ddb50a8cadd7 (diff) |
no more PLUGININFOEX::replacesDefaultModule, that old & nasty clutch
since now all Myranda plugins are binary incompatible with Miranda's
git-svn-id: http://svn.miranda-ng.org/main/trunk@743 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r-- | plugins/SpellChecker/spellchecker.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/SpellChecker/spellchecker.cpp b/plugins/SpellChecker/spellchecker.cpp index 70154652c0..ad6be60855 100644 --- a/plugins/SpellChecker/spellchecker.cpp +++ b/plugins/SpellChecker/spellchecker.cpp @@ -33,7 +33,6 @@ PLUGININFOEX pluginInfo={ __COPYRIGHT, __AUTHORWEB, UNICODE_AWARE, - 0, //doesn't replace anything built-in { 0x36753ae3, 0x840b, 0x4797, { 0x94, 0xa5, 0xfd, 0x9f, 0x58, 0x52, 0xb9, 0x42 } } // {36753AE3-840B-4797-94A5-FD9F5852B942} }; @@ -1691,14 +1690,12 @@ void AddMenuForWord(Dialog *dlg, TCHAR *word, CHARRANGE &pos, HMENU hMenu, BOOL data.hReplaceSubMenu = CreatePopupMenu(); - InsertMenu(data.hReplaceSubMenu, 0, MF_BYPOSITION, - base + AUTOREPLACE_MENU_ID_BASE + suggestions.count, TranslateT("Other...")); + InsertMenu(data.hReplaceSubMenu, 0, MF_BYPOSITION, base + AUTOREPLACE_MENU_ID_BASE + suggestions.count, TranslateT("Other...")); if (suggestions.count > 0) { InsertMenu(data.hReplaceSubMenu, 0, MF_BYPOSITION | MF_SEPARATOR, 0, 0); for (int i = suggestions.count - 1; i >= 0; i--) - InsertMenu(data.hReplaceSubMenu, 0, MF_BYPOSITION, - base + AUTOREPLACE_MENU_ID_BASE + i, suggestions.words[i]); + InsertMenu(data.hReplaceSubMenu, 0, MF_BYPOSITION, base + AUTOREPLACE_MENU_ID_BASE + i, suggestions.words[i]); } AppendSubmenu(hMenu, data.hReplaceSubMenu, TranslateT("Always replace with")); |