fixed a linux build problem
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40680
This commit is contained in:
parent
dee3a2b3cf
commit
b6e9922394
@ -62,7 +62,6 @@ inline bool TryTranslation(CPlugin *pl, const char *key, unsigned int langid, un
|
|||||||
size_t Translate(char *buffer, size_t maxlen, IPluginContext *pCtx, const char *key, cell_t target, const cell_t *params, int *arg, bool *error)
|
size_t Translate(char *buffer, size_t maxlen, IPluginContext *pCtx, const char *key, cell_t target, const cell_t *params, int *arg, bool *error)
|
||||||
{
|
{
|
||||||
unsigned int langid;
|
unsigned int langid;
|
||||||
const char *langname = NULL;
|
|
||||||
*error = false;
|
*error = false;
|
||||||
Translation pTrans;
|
Translation pTrans;
|
||||||
CPlugin *pl = (CPlugin *)g_PluginSys.FindPluginByContext(pCtx->GetContext());
|
CPlugin *pl = (CPlugin *)g_PluginSys.FindPluginByContext(pCtx->GetContext());
|
||||||
|
Loading…
Reference in New Issue
Block a user