Fix i2tcl module

refs #12393
This commit is contained in:
Gunnar Beutner 2016-08-12 15:24:04 +02:00
parent 12ea2a6445
commit 729a1259c0
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static Value i2_call_tcl(const String& command, const String& mtype, const std::
void i2_register_command(const char *icmd, const char *tcmd, const char *mtype, Tcl_Interp *interp)
{
Function::Ptr sf = new Function(boost::bind(i2_call_tcl, String(tcmd), String(mtype), _1));
Function::Ptr sf = new Function(icmd, boost::bind(i2_call_tcl, String(tcmd), String(mtype), _1));
ScriptGlobal::Set(icmd, sf);
}