Fix incorrect 'this' scope in i2tcl

fixes #9794
This commit is contained in:
Gunnar Beutner 2015-07-30 19:45:48 +02:00
parent 9b6ebbc69b
commit 21e34c7f05
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ void *i2_new_frame(Tcl_Interp *interp)
Application::InitializeBase();
}
return new ScriptFrame();
ScriptFrame *frame = new ScriptFrame();
frame->Self = ScriptGlobal::GetGlobals();
return frame;
}
void i2_free_frame(void *frame, Tcl_Interp *interp)