gimp r25668 - in trunk: . app/widgets
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25668 - in trunk: . app/widgets
- Date: Wed, 14 May 2008 16:38:43 +0100 (BST)
Author: neo
Date: Wed May 14 15:38:43 2008
New Revision: 25668
URL: http://svn.gnome.org/viewvc/gimp?rev=25668&view=rev
Log:
2008-05-14 Sven Neumann <sven gimp org>
* app/widgets/gimpcurveview.c (gimp_curve_view_motion_notify):
fixed use of uninitialized value.
Modified:
trunk/ChangeLog
trunk/app/widgets/gimpcurveview.c
Modified: trunk/app/widgets/gimpcurveview.c
==============================================================================
--- trunk/app/widgets/gimpcurveview.c (original)
+++ trunk/app/widgets/gimpcurveview.c Wed May 14 15:38:43 2008
@@ -626,6 +626,7 @@
gint width, height;
gdouble x;
gdouble y;
+ gdouble point_x;
gint closest_point;
if (! curve)
@@ -645,12 +646,10 @@
switch (gimp_curve_get_curve_type (curve))
{
- gdouble point_x;
-
case GIMP_CURVE_SMOOTH:
if (! view->grabbed) /* If no point is grabbed... */
{
- gimp_curve_get_point (curve, closest_point, &x, NULL);
+ gimp_curve_get_point (curve, closest_point, &point_x, NULL);
if (point_x >= 0.0)
new_cursor = GDK_FLEUR;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]