added newline to end of files that are read in

This commit is contained in:
herbglitch 2023-01-17 02:57:57 -07:00
parent f8d987da8e
commit 2b2e40921d
3 changed files with 42 additions and 17 deletions

View file

@ -33,11 +33,13 @@ uint8_t ARC_ConfigKey_Read_Uint8_t(ARC_Config* config, ARC_String *string, void
ARC_Config_Get(config, current, value);
if(*value){
ARC_String_Destroy(current);
return 1;
}
*value = (uint8_t *) malloc(sizeof(uint8_t));
*((uint8_t *)(*value)) = (uint8_t) ARC_String_ToUint64_t(string);
*((uint8_t *)(*value)) = (uint8_t) ARC_String_ToUint64_t(current);
ARC_String_Destroy(current);
return 0;
}