Skip to content

Commit

Permalink
initialize some more things
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoconlechuga committed Jul 19, 2020
1 parent ee1053f commit a32a21a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/icon.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ int icon_convert(icon_t *icon)
uint8_t *data = NULL;
FILE *fd = NULL;

image.flipx = false;
image.flipy = false;
image.rotate = 0;

if (icon->imageFile == NULL || *icon->imageFile == 0)
{
image.path = NULL;
Expand Down

0 comments on commit a32a21a

Please sign in to comment.