summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-11-03 20:07:00 (GMT)
committerhobbs <hobbs>2000-11-03 20:07:00 (GMT)
commit347b5ca0aced92a3296388c08aba0352b5c56c64 (patch)
tree5464021cdc185ae65bc95e642933605df7703ee9
parent610fb498bcd71cf41d9b3019e07d0bb509ff3337 (diff)
downloadtcl-347b5ca0aced92a3296388c08aba0352b5c56c64.zip
tcl-347b5ca0aced92a3296388c08aba0352b5c56c64.tar.gz
tcl-347b5ca0aced92a3296388c08aba0352b5c56c64.tar.bz2
corrected pointer reference to mainLoopProc execution
-rw-r--r--generic/tclMain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 20ed566..1ea4f3f 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMain.c,v 1.9 2000/11/03 20:01:16 hobbs Exp $
+ * RCS: @(#) $Id: tclMain.c,v 1.10 2000/11/03 20:07:00 hobbs Exp $
*/
#include "tcl.h"
@@ -349,7 +349,7 @@ Tcl_Main(argc, argv, appInitProc)
Tcl_DStringInit(&tsdPtr->command);
Tcl_DStringInit(&tsdPtr->line);
- mainLoopProc();
+ (*mainLoopProc)();
mainLoopProc = NULL;
break;
}
@@ -376,7 +376,7 @@ Tcl_Main(argc, argv, appInitProc)
* events at this point.
*/
- mainLoopProc();
+ (*mainLoopProc)();
}
if (commandPtr != NULL) {
Tcl_DecrRefCount(commandPtr);