From 101de6b47b8dde746328f722828e9b047a82237a Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Tue, 11 May 1999 09:46:15 +0000 Subject: [PATCH] Change to small to be mentioned... --Sven --- ChangeLog | 4 ++++ modules/colorsel_water.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3409aaa08d..5d50f8f904 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue May 11 11:43:36 MEST 1999 Sven Neumann + + * modules/colorsel_water.c: small change not worth a ChangeLog entry + Mon May 10 18:28:11 CEST 1999 Marc Lehmann * configure.in: undo the part of patch "Tue May 4 15:51:16 PDT diff --git a/modules/colorsel_water.c b/modules/colorsel_water.c index 07e6985779..92cbacf8a5 100644 --- a/modules/colorsel_water.c +++ b/modules/colorsel_water.c @@ -105,7 +105,7 @@ typedef struct { static gdouble bucket[N_BUCKETS + 1][3]; static GtkWidget *color_preview[N_BUCKETS + 1]; static gdouble last_x, last_y, last_pressure; -static gfloat pressure_adjust = 100.0; +static gfloat pressure_adjust = 1.0; static guint32 motion_time; static gint button_state; static ColorselWater *coldata; @@ -277,7 +277,7 @@ add_pigment (gboolean erase, gdouble x, gdouble y, gdouble much) { gdouble r, g, b; - much *= (gdouble)pressure_adjust / 100.0; + much *= (gdouble)pressure_adjust; #ifdef VERBOSE g_print ("x: %g, y: %g, much: %g\n", x, y, much); @@ -456,7 +456,7 @@ reset_color_callback (GtkWidget *widget, gpointer data) static void pressure_adjust_update (GtkAdjustment *adj, gpointer data) { - pressure_adjust = adj->value; + pressure_adjust = adj->value / 100; }