(get_char_id_table): If a character attribute is not loaded and the
authortomo <tomo>
Thu, 24 Jan 2002 12:21:00 +0000 (12:21 +0000)
committertomo <tomo>
Thu, 24 Jan 2002 12:21:00 +0000 (12:21 +0000)
attribute value is not found in an external database, store Qunbound
as the attribute value.

src/chartab.h

index e9c0e97..1d5bb4c 100644 (file)
@@ -375,10 +375,14 @@ get_char_id_table (Lisp_Char_Table* cit, Emchar ch)
                val = Fread (val);
              else
                val = Qunbound;
-             put_char_id_table_0 (cit, ch, val);
              Fclose_database (db);
            }
+         else
+           val = Qunbound;
        }
+      else
+       val = Qunbound;
+      put_char_id_table_0 (cit, ch, val);
     }
   if (UNBOUNDP (val))
     return cit->default_value;