summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-06 13:32:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-06 13:32:39 (GMT)
commit3c53be5e75cfe4cbca25b963b16a6a99229c6136 (patch)
tree3c767831c10e64c830849c6cb89eee300ed6098a /win/tclAppInit.c
parentf163c24b4c9dd8b0e7c72274f1c008384ea8f514 (diff)
downloadtcl-3c53be5e75cfe4cbca25b963b16a6a99229c6136.zip
tcl-3c53be5e75cfe4cbca25b963b16a6a99229c6136.tar.gz
tcl-3c53be5e75cfe4cbca25b963b16a6a99229c6136.tar.bz2
Correct casing of "packageName" argument in Tcl_StaticPackage() call and "load" command (which - actually - is not a packageName at all ...)
UPDATE: I am moving this to a feature branch. Changing the arguments passed to Tcl_StaticPackage will be an incompatible break for any scripts currently searching the [info loaded] list for "dde" or "registry". Not a change we should put in a patchlevel without at least a ticket to record the explanation and a (POTENTIAL INCOMPATIBILITY) warning.
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r--win/tclAppInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index f78f788..695099e 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -163,12 +163,12 @@ Tcl_AppInit(
if (Registry_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
- Tcl_StaticPackage(interp, "registry", Registry_Init, NULL);
+ Tcl_StaticPackage(interp, "Registry", Registry_Init, NULL);
if (Dde_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
- Tcl_StaticPackage(interp, "dde", Dde_Init, Dde_SafeInit);
+ Tcl_StaticPackage(interp, "Dde", Dde_Init, Dde_SafeInit);
#endif
#ifdef TCL_TEST