From 3b7d5f2cf6d6909a6f0f8d57727324d3a970ffff Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 30 Jul 2002 12:29:25 +0000 Subject: [PATCH] fix wrong type in XWorkArea git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4805 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/xforms/ChangeLog | 5 +++++ src/frontends/xforms/XWorkArea.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 711b285813..5e7901aa1e 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,8 @@ +2002-07-26 Jean-Marc Lasgouttes + + * XWorkArea.C (work_area_handler): change type of + scrollbar_value_old to double + 2002-07-29 Lars Gullik Bjønnes * several files: strip,frontStrip -> trim,ltrim,rtrim diff --git a/src/frontends/xforms/XWorkArea.C b/src/frontends/xforms/XWorkArea.C index 3270cec09f..e472572924 100644 --- a/src/frontends/xforms/XWorkArea.C +++ b/src/frontends/xforms/XWorkArea.C @@ -332,7 +332,7 @@ int XWorkArea::work_area_handler(FL_OBJECT * ob, int event, { static int x_old = -1; static int y_old = -1; - static long scrollbar_value_old = -1; + static double scrollbar_value_old = -1.0; XEvent * ev = static_cast(xev); XWorkArea * area = static_cast(ob->u_vdata);