gimp r25799 - in trunk: . app/tools



Author: martinn
Date: Sun May 25 17:37:26 2008
New Revision: 25799
URL: http://svn.gnome.org/viewvc/gimp?rev=25799&view=rev

Log:
2008-05-25  Martin Nordholts  <martinn svn gnome org>

	* app/tools/gimpfreeselecttool.c
	(gimp_free_select_tool_revert_to_saved_state): Name cleanup.


Modified:
   trunk/ChangeLog
   trunk/app/tools/gimpfreeselecttool.c

Modified: trunk/app/tools/gimpfreeselecttool.c
==============================================================================
--- trunk/app/tools/gimpfreeselecttool.c	(original)
+++ trunk/app/tools/gimpfreeselecttool.c	Sun May 25 17:37:26 2008
@@ -784,7 +784,7 @@
 gimp_free_select_tool_revert_to_saved_state (GimpFreeSelectTool *fst)
 {
   Private     *priv = GET_PRIVATE (fst);
-  GimpVector2 *source;
+  GimpVector2 *dest;
   gint         n_points;
 
   /* Without a point grab we have no sensible information to fall back
@@ -798,12 +798,12 @@
   if (priv->grabbed_segment_index > 0)
     {
       gimp_free_select_tool_get_segment (fst,
-                                         &source,
+                                         &dest,
                                          &n_points,
                                          priv->grabbed_segment_index - 1,
                                          priv->grabbed_segment_index);
 
-      memcpy (source,
+      memcpy (dest,
               priv->saved_points_lower_segment,
               sizeof (GimpVector2) * n_points);
     }
@@ -811,12 +811,12 @@
   if (priv->grabbed_segment_index < priv->n_segment_indices - 1)
     {
       gimp_free_select_tool_get_segment (fst,
-                                         &source,
+                                         &dest,
                                          &n_points,
                                          priv->grabbed_segment_index,
                                          priv->grabbed_segment_index + 1);
 
-      memcpy (source,
+      memcpy (dest,
               priv->saved_points_higher_segment,
               sizeof (GimpVector2) * n_points);
     }



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