Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
roblillack committed Oct 26, 2022
1 parent d8b600c commit 26bba2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/icon.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ RImage *wIconValidateIconSize(RImage *icon, int max_size, Bool scale_down)
}
}

if (icon->width >wanted || icon->height > wanted) {
if (icon->width > wanted || icon->height > wanted) {
if (icon->width > icon->height)
nimage = RScaleImage(icon, wanted, icon->height * wanted / icon->width);
else
Expand Down

0 comments on commit 26bba2f

Please # to comment.