diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-23 17:59:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-23 17:59:15 +0000 |
commit | 5579b582572dbb3e3c842604c753f3e60f0845b8 (patch) | |
tree | c756a3c5d193dd0286d07fcfc22bb8e87d7863ad /src/modules/options/options.cpp | |
parent | 2b70918fbed7eacda8fa2f638dd1af6c70f0a9b8 (diff) |
fix for the langpack module load order
git-svn-id: http://svn.miranda-ng.org/main/trunk@8714 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/options/options.cpp')
-rw-r--r-- | src/modules/options/options.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp index 0239c10aa5..0e59b4e943 100644 --- a/src/modules/options/options.cpp +++ b/src/modules/options/options.cpp @@ -33,6 +33,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define ALL_MODULES_FILTER LPGEN("<all modules>")
#define CORE_MODULES_FILTER LPGEN("<core modules>")
+int LangpackOptionsInit(WPARAM, LPARAM);
+
static HANDLE hOptionsInitEvent;
static HWND hwndOptions = NULL;
static HWND hFilterSearchWnd = NULL;
@@ -1381,6 +1383,8 @@ int LoadOptionsModule(void) {
hwndOptions = NULL;
hOptionsInitEvent = CreateHookableEvent(ME_OPT_INITIALISE);
+ HookEvent(ME_OPT_INITIALISE, LangpackOptionsInit);
+
CreateServiceFunction("Opt/AddPage", AddOptionsPage);
CreateServiceFunction("Opt/OpenOptions", OpenOptions);
CreateServiceFunction("Opt/OpenOptionsPage", OpenOptionsPage);
|