mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
fixed invalid return type
This commit is contained in:
@@ -417,12 +417,12 @@ void SetBoolYAMLValue(bool *dest, char *key, ctr_yaml_context *ctx)
|
||||
if(!EventIsScalar(ctx)){
|
||||
fprintf(stderr,"[RSF ERROR] '%s' requires a value\n",key);
|
||||
ctx->error = YAML_BAD_FORMATTING;
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
if(!GetYamlStringSize(ctx)){
|
||||
fprintf(stderr,"[RSF ERROR] '%s' requires a value\n",key);
|
||||
ctx->error = YAML_BAD_FORMATTING;
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
|
||||
if(casecmpYamlValue("true",ctx))
|
||||
|
||||
Reference in New Issue
Block a user