diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-19 15:58:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-19 15:58:43 +0000 |
commit | 4a67a2dabbdf4aefbe729779f3be84177bbe9274 (patch) | |
tree | a0caef0ac3ed3942c1f62d2cba6016aa31f6259f /src/mir_core | |
parent | 9556b03ca5f9cb26b16b414faaaea90559843e0c (diff) |
crutch to return fake langpack ids for scripting
git-svn-id: http://svn.miranda-ng.org/main/trunk@14264 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/src/langpack.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mir_core/src/langpack.cpp b/src/mir_core/src/langpack.cpp index a153098be7..cfc656afd2 100644 --- a/src/mir_core/src/langpack.cpp +++ b/src/mir_core/src/langpack.cpp @@ -687,12 +687,10 @@ void GetDefaultLang() /////////////////////////////////////////////////////////////////////////////////////////
-EXTERN_C MIR_APP_DLL(int) GetPluginFakeId(const MUUID &uuid, int hLangpack);
-
MIR_CORE_DLL(void) mir_getLP(const PLUGININFOEX *pInfo, int *_hLang)
{
if (_hLang && pInfo)
- *(int*)_hLang = GetPluginFakeId(pInfo->uuid, Langpack_MarkPluginLoaded((PLUGININFOEX*)pInfo));
+ *(int*)_hLang = GetPluginLangId(pInfo->uuid, Langpack_MarkPluginLoaded((PLUGININFOEX*)pInfo));
}
/////////////////////////////////////////////////////////////////////////////////////////
|