image: Indentation fix

This commit is contained in:
Timm Bäder 2018-12-30 20:25:21 +01:00
parent 1d3aa9207c
commit ea8f1469c1

View File

@ -1100,16 +1100,16 @@ gtk_image_snapshot (GtkWidget *widget,
{
double image_ratio = (double) width / height;
if (ratio > image_ratio)
{
w = width;
h = width / ratio;
}
else
{
w = height * ratio;
h = height;
}
if (ratio > image_ratio)
{
w = width;
h = width / ratio;
}
else
{
w = height * ratio;
h = height;
}
x = (width - ceil (w)) / 2;