fix wrong type in XWorkArea

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4805 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-07-30 12:29:25 +00:00
parent 990995fe23
commit 3b7d5f2cf6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-07-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* XWorkArea.C (work_area_handler): change type of
scrollbar_value_old to double
2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
* several files: strip,frontStrip -> trim,ltrim,rtrim

View File

@ -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<XEvent*>(xev);
XWorkArea * area = static_cast<XWorkArea*>(ob->u_vdata);