diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-06 08:31:38 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-06 08:31:38 +0000 |
commit | 1ce002432b3a5c0bb0a4c9f9eb8d399d649fe283 (patch) | |
tree | 77852d7852ceaf1f0029e91e94ae7580bb4cef5d /src/modules/langpack | |
parent | 387a4b247a6c4363576b1f969e7ea19856f6eddd (diff) |
- mir_core.dll moved to the core :)
- plugins now obtain the fake langpack id if langpack is absent
git-svn-id: http://svn.miranda-ng.org/main/trunk@787 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/langpack')
-rw-r--r-- | src/modules/langpack/lpservices.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/langpack/lpservices.cpp b/src/modules/langpack/lpservices.cpp index b7ae5ef563..36f9e3c40b 100644 --- a/src/modules/langpack/lpservices.cpp +++ b/src/modules/langpack/lpservices.cpp @@ -43,7 +43,9 @@ static INT_PTR srvTranslateMenu(WPARAM wParam, LPARAM lParam) static INT_PTR srvRegisterLP(WPARAM wParam, LPARAM lParam)
{
- *(int*)wParam = Langpack_MarkPluginLoaded((PLUGININFOEX*)lParam);
+ PLUGININFOEX* ppi = (PLUGININFOEX*)lParam;
+ if (wParam && ppi)
+ *( int* )wParam = GetPluginFakeId(ppi->uuid, Langpack_MarkPluginLoaded(ppi));
return 0;
}
|