Bug fix re: HT_SetNodeData()

This commit is contained in:
rjc%netscape.com 1998-07-23 23:51:12 +00:00
parent 9193971d7a
commit 64332341df

View File

@ -5146,8 +5146,7 @@ HT_SetNodeData (HT_Resource node, void *token, uint32 tokenType, void *data)
if (HT_IsNodeDataEditable(node, token, tokenType))
{
if (HT_GetNodeData(node, token, tokenType, &oldData))
{
HT_GetNodeData(node, token, tokenType, &oldData);
switch(tokenType)
{
case HT_COLUMN_STRING:
@ -5198,7 +5197,6 @@ HT_SetNodeData (HT_Resource node, void *token, uint32 tokenType, void *data)
break;
}
}
}
return(error);
}