From 1b5bcc48362de4f496d2fa79d444a19ffd33c96b Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Mon, 30 Apr 2007 18:02:28 +0000 Subject: [PATCH] Fixed amb238 - BuildPath native didn't accept format arguments properly --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40717 --- core/smn_filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/smn_filesystem.cpp b/core/smn_filesystem.cpp index 4e59c4260..f1cfd7828 100644 --- a/core/smn_filesystem.cpp +++ b/core/smn_filesystem.cpp @@ -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) { char path[PLATFORM_MAX_PATH], *fmt, *buffer; - int arg = 4; + int arg = 5; pContext->LocalToString(params[2], &buffer); pContext->LocalToString(params[4], &fmt);