Nikita Kalanakov 2 år sedan
förälder
incheckning
6765396e56
1 ändrade filer med 0 tillägg och 3 borttagningar
  1. 0 3
      makeshot/makeshot.c

+ 0 - 3
makeshot/makeshot.c

@@ -368,9 +368,6 @@ void fit(cairo_surface_t **surface, uint_t width, uint_t height) {
   image_width = cairo_image_surface_get_width(*surface);
   image_height = cairo_image_surface_get_height(*surface);
 
-  if (image_width <= width && image_height <= height)
-    return;
-
   new_width = width;
   new_height = height;