X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fev-document-misc.c;h=0626e1372567de9cf71fba781a1dc001661907d3;hb=65c06150e05948eb7b056b0ec5cb9c364b652cfe;hp=bb5eedbfe64eefae5afe66e0e6e4a78049cfa11a;hpb=6559e35a6d539a482c7363710b6153173966e8f9;p=evince.git diff --git a/backend/ev-document-misc.c b/backend/ev-document-misc.c index bb5eedbf..0626e137 100644 --- a/backend/ev-document-misc.c +++ b/backend/ev-document-misc.c @@ -28,7 +28,7 @@ ev_document_misc_get_thumbnail_frame (int width, } /* make sure no one is passing us garbage */ - g_assert (width > 0 && height > 0); + g_assert (width >= 0 && height >= 0); retval = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8,