added fill to rect, and returns when ARC_Config_Get has a null temp value

This commit is contained in:
herbglitch 2023-02-23 00:07:18 -07:00
parent 0d9cf0f7f5
commit b2055f667c
3 changed files with 13 additions and 0 deletions

View file

@ -156,6 +156,12 @@ void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value){
if(group){
ARC_String_Destroy(group);
}
if(temp == NULL){
*value = NULL;
return;
}
*value = temp->data;
return;
}