Skip to content

Commit

Permalink
fix compiler exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Feb 22, 2021
1 parent 627cbd7 commit 2e0bf51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coders/svg.c
Original file line number Diff line number Diff line change
Expand Up @@ -3351,8 +3351,8 @@ static Image *ReadSVGImage(const ImageInfo *image_info,ExceptionInfo *exception)
rsvg_handle_set_dpi_x_y(svg_handle,image->x_resolution*256,
image->y_resolution*256.0);
rsvg_handle_get_dimensions(svg_handle,&dpi_dimension_info);
if ((fabs(dpi_dimension_info.width != dimension_info.width) >= MagickEpslon) ||
(fabs(dpi_dimension_info.height != dimension_info.height) >= MagickEpslon))
if ((fabs(dpi_dimension_info.width != dimension_info.width) >= MagickEpsilon) ||
(fabs(dpi_dimension_info.height != dimension_info.height) >= MagickEpsilon))
apply_density=MagickFalse;
rsvg_handle_set_dpi_x_y(svg_handle,image->x_resolution,
image->y_resolution);
Expand Down

0 comments on commit 2e0bf51

Please sign in to comment.