Fixed amb238 - BuildPath native didn't accept format arguments properly
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40717
This commit is contained in:
parent
ba17aafb8a
commit
1b5bcc4836
@ -451,7 +451,7 @@ static cell_t sm_WriteFileLine(IPluginContext *pContext, const cell_t *params)
|
|||||||
static cell_t sm_BuildPath(IPluginContext *pContext, const cell_t *params)
|
static cell_t sm_BuildPath(IPluginContext *pContext, const cell_t *params)
|
||||||
{
|
{
|
||||||
char path[PLATFORM_MAX_PATH], *fmt, *buffer;
|
char path[PLATFORM_MAX_PATH], *fmt, *buffer;
|
||||||
int arg = 4;
|
int arg = 5;
|
||||||
pContext->LocalToString(params[2], &buffer);
|
pContext->LocalToString(params[2], &buffer);
|
||||||
pContext->LocalToString(params[4], &fmt);
|
pContext->LocalToString(params[4], &fmt);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user