diff options
author | das <das> | 2008-12-10 04:27:45 (GMT) |
---|---|---|
committer | das <das> | 2008-12-10 04:27:45 (GMT) |
commit | 497e9cc2059d61d104050b8fdd54a72fbd7f121e (patch) | |
tree | 7df86c5f839efe2f96bd920474a298a2e37a4c9b /generic/tkUtil.c | |
parent | 4681d71cefe2f29d8ebf38878fbb5bdbd13d93b3 (diff) | |
download | tk-497e9cc2059d61d104050b8fdd54a72fbd7f121e.zip tk-497e9cc2059d61d104050b8fdd54a72fbd7f121e.tar.gz tk-497e9cc2059d61d104050b8fdd54a72fbd7f121e.tar.bz2 |
TkMakeEnsemble(): support for NULL subensemble
Diffstat (limited to 'generic/tkUtil.c')
-rw-r--r-- | generic/tkUtil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkUtil.c b/generic/tkUtil.c index 4007ae8..8cfaf9a 100644 --- a/generic/tkUtil.c +++ b/generic/tkUtil.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: tkUtil.c,v 1.25 2008/12/10 00:34:51 das Exp $ + * RCS: @(#) $Id: tkUtil.c,v 1.26 2008/12/10 04:27:45 das Exp $ */ #include "tkInt.h" @@ -1047,7 +1047,7 @@ TkMakeEnsemble( if (map[i].proc) { Tcl_CreateObjCommand(interp, Tcl_GetString(fqdnObj), map[i].proc, clientData, NULL); - } else { + } else if (map[i].subensemble) { TkMakeEnsemble(interp, Tcl_DStringValue(&ds), map[i].name, clientData, map[i].subensemble); } |