bugfix
authorGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Tue, 20 Jan 2004 16:20:02 +0000 (16:20 +0000)
committerGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Tue, 20 Jan 2004 16:20:02 +0000 (16:20 +0000)
[r2328]

ir/tv/tv.c

index cd4e460..9f4b02d 100644 (file)
@@ -1360,7 +1360,7 @@ int tarval_snprintf(char *buf, size_t len, tarval *tv)
       if (tv==tarval_P_void) return snprintf(buf, len, "NULL");
       if (tv->value != NULL)
         if (tarval_is_entity(tv)) {
-          if (get_entity_peculiarity((entity *)tv->value) == peculiarity_existent)
+          if (get_entity_peculiarity((entity *)tv->value) != peculiarity_description)
             return snprintf(buf, len, "%s%s%s", prefix, get_entity_ld_name((entity *)tv->value), suffix);
           else {
            if (mode_info->mode_output == TVO_NATIVE)