For guha. Fixes crashes at startup.

This commit is contained in:
pinkerton 1998-04-17 22:33:56 +00:00
Родитель 1ce6e8a5dd
Коммит cf988eae72
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -233,6 +233,7 @@ addSlotValue (RDFFile f, RDF_Resource u, RDF_Resource s, void* v,
if (f == NULL || u == NULL || s == NULL || v == NULL) return;
if (s == gCoreVocab->RDF_child) {
RDF_Resource temp = (RDF_Resource)v;
if (type != RDF_RESOURCE_TYPE) return;
s = gCoreVocab->RDF_parent;
v = u;
u = temp;