gimp r26187 - in trunk: . app/display
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26187 - in trunk: . app/display
- Date: Mon, 14 Jul 2008 09:41:16 +0000 (UTC)
Author: neo
Date: Mon Jul 14 09:41:16 2008
New Revision: 26187
URL: http://svn.gnome.org/viewvc/gimp?rev=26187&view=rev
Log:
2008-07-14 Sven Neumann <sven gimp org>
* app/display/gimpdisplayshell-scale.c
(gimp_display_shell_scale_setup): added some line breaks to
improve readability.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell-scale.c
Modified: trunk/app/display/gimpdisplayshell-scale.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-scale.c (original)
+++ trunk/app/display/gimpdisplayshell-scale.c Mon Jul 14 09:41:16 2008
@@ -162,11 +162,15 @@
if (image)
{
- horizontal_upper = img2real (shell, TRUE, FUNSCALEX (shell, shell->disp_width));
- horizontal_max_size = img2real (shell, TRUE, MAX (image_width, image_height));
-
- vertical_upper = img2real (shell, FALSE, FUNSCALEY (shell, shell->disp_height));
- vertical_max_size = img2real (shell, FALSE, MAX (image_width, image_height));
+ horizontal_upper = img2real (shell, TRUE,
+ FUNSCALEX (shell, shell->disp_width));
+ horizontal_max_size = img2real (shell, TRUE,
+ MAX (image_width, image_height));
+
+ vertical_upper = img2real (shell, FALSE,
+ FUNSCALEY (shell, shell->disp_height));
+ vertical_max_size = img2real (shell, FALSE,
+ MAX (image_width, image_height));
}
else
{
@@ -185,14 +189,18 @@
&scaled_image_viewport_offset_y);
horizontal_lower -= img2real (shell, TRUE,
- FUNSCALEX (shell, (gdouble) scaled_image_viewport_offset_x));
+ FUNSCALEX (shell,
+ (gdouble) scaled_image_viewport_offset_x));
horizontal_upper -= img2real (shell, TRUE,
- FUNSCALEX (shell, (gdouble) scaled_image_viewport_offset_x));
+ FUNSCALEX (shell,
+ (gdouble) scaled_image_viewport_offset_x));
vertical_lower -= img2real (shell, FALSE,
- FUNSCALEY (shell, (gdouble) scaled_image_viewport_offset_y));
+ FUNSCALEY (shell,
+ (gdouble) scaled_image_viewport_offset_y));
vertical_upper -= img2real (shell, FALSE,
- FUNSCALEY (shell, (gdouble) scaled_image_viewport_offset_y));
+ FUNSCALEY (shell,
+ (gdouble) scaled_image_viewport_offset_y));
/* Finally setup the actual rulers */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]