border-image: fix a horizontal/vertical index typo

This commit is contained in:
Cosimo Cecchi 2011-06-09 17:05:27 -04:00
parent 2daba94825
commit c935439a72

View File

@ -425,7 +425,7 @@ _gtk_border_image_render (GtkBorderImage *image,
for (h = 0; h < 3; h++)
{
if (horizontal_slice[h].size == 0 ||
horizontal_border[v].size == 0)
horizontal_border[h].size == 0)
continue;
if (h == 1 && v == 1)