]> Nishi Git Mirror - libw3.git/commitdiff
fixed tcl bindings
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Thu, 8 Feb 2024 23:17:55 +0000 (23:17 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Thu, 8 Feb 2024 23:17:55 +0000 (23:17 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@189 d27a3e52-49c5-7645-884c-6793ebffc270

Library/Tcl.c
W3Version.h.p

index 7ebc6a1a610afe4420ce3f9471ed47c3ae2fbeb3..12c6002264313f3262b2db2e07f669eb73322515 100644 (file)
@@ -395,7 +395,7 @@ int Tcl_W3Cmd(ClientData dummy, Tcl_Interp* interp, int objc, Tcl_Obj* CONST obj
                        Tcl_SetObjResult(interp, Tcl_NewStringObj(errmsg, strlen(errmsg)));
                        return TCL_ERROR;
                }
-               W3_Do_Debug(atoi(Tcl_GetString(argv[2]));
+               W3_Do_Debug(atoi(Tcl_GetString(objv[2])));
                Tcl_SetObjResult(interp, Tcl_NewIntObj(0));
                return TCL_OK;
        } else {
index 5bfe6ecf4cfecd337456e90de36fdbf8abcce548..78196b65fc8d6eb3ed501a112fbcd1b082985f53 100644 (file)
@@ -6,7 +6,7 @@
 extern "C" {
 #endif
 
-#define LIBW3_VERSION "2.4A" \
+#define LIBW3_VERSION "2.4B" \
 SUFFIX
 
 #ifdef __cplusplus