From ab1b1ef20991b58bc0cd8adcad7e33145045d727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Wed, 17 Jan 2001 18:18:57 -0800 Subject: [PATCH] bugfix for tracing with objects who has `== in mappings.. Rev: src/mapping.c:1.114 --- src/mapping.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/mapping.c b/src/mapping.c index 8345ee535c..0deb643e1b 100644 --- a/src/mapping.c +++ b/src/mapping.c @@ -5,7 +5,7 @@ \*/ /**/ #include "global.h" -RCSID("$Id: mapping.c,v 1.113 2000/12/14 07:37:23 mast Exp $"); +RCSID("$Id: mapping.c,v 1.114 2001/01/18 02:18:57 hubbe Exp $"); #include "main.h" #include "object.h" #include "mapping.h" @@ -1569,7 +1569,16 @@ void describe_mapping(struct mapping *m,struct processing *p,int indent) describe_svalue(ITEM(a)+e, indent+2, &doing); my_putchar(':'); - if((tmp=low_mapping_lookup(m, ITEM(a)+e))) + + { + int save_t_flag=t_flag; + t_flag=0; + + tmp=low_mapping_lookup(m, ITEM(a)+e); + + t_flag=save_t_flag; + } + if(tmp) describe_svalue(tmp, indent+2, &doing); else my_strcat("** gone **"); -- GitLab