Skip to content

Commit

Permalink
fixed quality check
Browse files Browse the repository at this point in the history
  • Loading branch information
SzBenedek2006 committed Jun 13, 2024
1 parent 3f01429 commit 79a6d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int main(int argc, char* argv[])
} else if (aCount && (strcmp(format, "jpg") == 0) ) {
printf("--alpha (transparency) option will be ignored when using jpeg.\n");

} else if (!qCount) {
} else if ((!qCount) && (strcmp(format, "jpg") == 0)) {
printf("Quality is not set, defaulting to 100.\n");
}

Expand Down

0 comments on commit 79a6d02

Please sign in to comment.