--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40757
This commit is contained in:
David Anderson 2007-05-07 00:03:37 +00:00
parent e69edf05eb
commit ca7ebffc8a

View File

@ -653,7 +653,7 @@ static cell_t smn_KvNodesInStack(IPluginContext *pCtx, const cell_t *params)
return pCtx->ThrowNativeError("Invalid key value handle %x (error %d)", hndl, herr);
}
return pStk->pCurRoot.size();
return pStk->pCurRoot.size() - 1;
}
static cell_t smn_KvDeleteThis(IPluginContext *pContext, const cell_t *params)