gimp r25313 - in trunk: . app/display



Author: neo
Date: Sun Mar 30 17:39:44 2008
New Revision: 25313
URL: http://svn.gnome.org/viewvc/gimp?rev=25313&view=rev

Log:
2008-03-30  Sven Neumann  <sven gimp org>

	* app/display/gimpdisplayshell.c 
(gimp_display_shell_scale_changed):
	never set the dest_inc and src_dec variables to zero.



Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell.c

Modified: trunk/app/display/gimpdisplayshell.c
==============================================================================
--- trunk/app/display/gimpdisplayshell.c	(original)
+++ trunk/app/display/gimpdisplayshell.c	Sun Mar 30 17:39:44 2008
@@ -1382,10 +1382,10 @@
       shell->scale_x = 1.0;
       shell->scale_y = 1.0;
 
-      shell->x_dest_inc = shell->disp_width;
-      shell->y_dest_inc = shell->disp_height;
-      shell->x_src_dec  = shell->disp_width;
-      shell->y_src_dec  = shell->disp_height;
+      shell->x_dest_inc = 1;
+      shell->y_dest_inc = 1;
+      shell->x_src_dec  = 1;
+      shell->y_src_dec  = 1;
     }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]