Skip to content

Commit

Permalink
Fix misplaced "!"
Browse files Browse the repository at this point in the history
  • Loading branch information
katajakasa committed Nov 10, 2024
1 parent 513524f commit e5a89b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formats/script.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void sd_script_tag_create(sd_script_tag *tag) {
bool sd_script_frame_add_tag(sd_script_frame *frame, const char *key, int value) {
sd_script_tag tag;
sd_script_tag_create(&tag);
if(!sd_tag_info(key, &tag.has_param, &tag.key, &tag.desc) == 0) {
if(sd_tag_info(key, &tag.has_param, &tag.key, &tag.desc) != 0) {
return false;
}
if(tag.has_param) {
Expand Down

0 comments on commit e5a89b9

Please sign in to comment.