about summary refs log tree commit diff stats
path: root/030container.cc
diff options
context:
space:
mode:
Diffstat (limited to '030container.cc')
-rw-r--r--030container.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/030container.cc b/030container.cc
index 1a601997..5ad2268f 100644
--- a/030container.cc
+++ b/030container.cc
@@ -437,7 +437,7 @@ type_tree* new_type_tree_with_new_types_for_unknown(const string_tree* propertie
   if (!properties) return NULL;
   type_tree* result = new type_tree("", 0);
   if (!properties->value.empty()) {
-    const string& type_name = properties->value;
+    const string& type_name = result->name = properties->value;
     if (contains_key(Type_ordinal, type_name)) {
       result->value = get(Type_ordinal, type_name);
     }