From e5a89b90f1e332e994b1e8e5244867bb14f508dc Mon Sep 17 00:00:00 2001 From: Tuomas Virtanen Date: Sun, 10 Nov 2024 17:02:15 +0200 Subject: [PATCH] Fix misplaced "!" --- src/formats/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formats/script.c b/src/formats/script.c index b0aea0a23..f0a56fd65 100644 --- a/src/formats/script.c +++ b/src/formats/script.c @@ -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) {