more sensible value for max scrollbar value. Related to http://www.lyx.org/trac/changeset/24298.

Should fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4901



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25337 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-06-20 12:52:38 +00:00
parent 46cb120300
commit 2a1b0968cb

View File

@ -52,7 +52,7 @@ enum CursorStatus {
struct ScrollbarParameters
{
ScrollbarParameters()
: min(0), max(1), position(0), single_step(1), page_step(1)
: min(0), max(0), position(0), single_step(1), page_step(1)
{}
/// Minimum scrollbar position in pixels.
int min;