Consolidate FileExists usage in logic bin (bug 5931, r=asherkin).

This commit is contained in:
Nicholas Hastings
2014-01-07 14:24:41 -05:00
parent 121c3973d6
commit 310f77d96a
3 changed files with 1 additions and 8 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ static cell_t sm_FileExists(IPluginContext *pContext, const cell_t *params)
if (params[0] >= 2 && params[2] == 1)
{
return smcore.FileExists(name) ? 1 : 0;
return smcore.filesystem->FileExists(name) ? 1 : 0;
}
char realpath[PLATFORM_MAX_PATH];