From 729a1259c0136f6b993be71900ecf4147c21c7cb Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 12 Aug 2016 15:24:04 +0200 Subject: [PATCH] Fix i2tcl module refs #12393 --- contrib/i2eval/i2tcl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/i2eval/i2tcl.cpp b/contrib/i2eval/i2tcl.cpp index 245504546..27902449e 100644 --- a/contrib/i2eval/i2tcl.cpp +++ b/contrib/i2eval/i2tcl.cpp @@ -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); }