Skip to content

Commit

Permalink
Fix missing condition
Browse files Browse the repository at this point in the history
  • Loading branch information
NayamAmarshe committed Apr 26, 2024
1 parent 3503cb5 commit c221b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ void *save(void *args)
scale_output_image(v, stp);
}

if (stp->resizeProvided && !stp->hasOutputScale)
if ((stp->resizeProvided || stp->hasCustomWidth) && !stp->hasOutputScale)
{
resize_output_image(v, stp);
}
Expand Down

0 comments on commit c221b71

Please sign in to comment.