summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/support/cltkDMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/support/cltkDMain.c')
-rw-r--r--otherlibs/labltk/support/cltkDMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/support/cltkDMain.c b/otherlibs/labltk/support/cltkDMain.c
index 9272e8fc2..3d9a4c2df 100644
--- a/otherlibs/labltk/support/cltkDMain.c
+++ b/otherlibs/labltk/support/cltkDMain.c
@@ -223,7 +223,7 @@ int Caml_Init(interp)
if (0 == access(f,R_OK))
if (TCL_OK != Tcl_EvalFile(cltclinterp,f)) {
stat_free(f);
- tk_error(cltclinterp->result);
+ tk_error(Tcl_GetStringResult(cltclinterp));
};
stat_free(f);
}