Fix a typo
authorKlaus Ethgen <Klaus@Ethgen.de>
Wed, 4 May 2016 07:30:12 +0000 (08:30 +0100)
committerKlaus Ethgen <Klaus@Ethgen.de>
Wed, 4 May 2016 07:30:12 +0000 (08:30 +0100)
This bug was introduced in fe69cac by John (2005-03-19).

Fixes #386.

src/pixbuf-renderer.c

index da191b0..af49c38 100644 (file)
@@ -1160,7 +1160,7 @@ void pixbuf_renderer_set_tiles(PixbufRenderer *pr, gint width, gint height,
                               gdouble zoom)
 {
        g_return_if_fail(IS_PIXBUF_RENDERER(pr));
-       g_return_if_fail(tile_width >= 32 && tile_width >= 32);
+       g_return_if_fail(tile_width >= 32 && tile_height >= 32);
        g_return_if_fail(width >= 32 && height > 32);
        g_return_if_fail(func_request != NULL);