aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-image-chooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-image-chooser.c')
-rw-r--r--widgets/misc/e-image-chooser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/misc/e-image-chooser.c b/widgets/misc/e-image-chooser.c
index 3e9a976c18..e21d1c6c67 100644
--- a/widgets/misc/e-image-chooser.c
+++ b/widgets/misc/e-image-chooser.c
@@ -96,15 +96,15 @@ set_image_from_data (EImageChooser *chooser,
|| chooser->priv->image_width < new_width) {
/* we need to scale down */
if (new_height > new_width)
- scale = (gfloat)chooser->priv->image_height / new_height;
+ scale = (gfloat) chooser->priv->image_height / new_height;
else
- scale = (gfloat)chooser->priv->image_width / new_width;
+ scale = (gfloat) chooser->priv->image_width / new_width;
} else {
/* we need to scale up */
if (new_height > new_width)
- scale = (gfloat)new_height / chooser->priv->image_height;
+ scale = (gfloat) new_height / chooser->priv->image_height;
else
- scale = (gfloat)new_width / chooser->priv->image_width;
+ scale = (gfloat) new_width / chooser->priv->image_width;
}
if (scale == 1.0) {