summaryrefslogtreecommitdiff
path: root/lang/itcl/files/patch-itcl_class.c
blob: 0ccd8dabb7260cc60ee8feda18cd7972a0031cbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- generic/itcl_class.c.orig	Thu Oct 23 17:58:16 2003
+++ generic/itcl_class.c	Thu Oct 23 17:59:01 2003
@@ -960,7 +960,7 @@
      *    it--as it is being resolved again by the compiler.
      */
     cmdPtr = (Command*)mfunc->accessCmd;
-    if (!cmdPtr || cmdPtr->deleted) {
+    if (!cmdPtr || (cmdPtr->flags & CMD_IS_DELETED)) {
         mfunc->accessCmd = NULL;
 
         if ((flags & TCL_LEAVE_ERR_MSG) != 0) {