fix for printing crash, bug #24735. make sure that mAdjustment is initialized in the constructor. r=tor

This commit is contained in:
blizzard%redhat.com 2000-02-12 19:11:47 +00:00
parent 8494b2f6e0
commit 71a332ac94

View File

@ -42,6 +42,7 @@ nsScrollbar::nsScrollbar (PRBool aIsVertical):nsWidget (), nsIScrollbar ()
mOrientation = (aIsVertical) ?
GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL;
mAdjustment = nsnull;
}
//-------------------------------------------------------------------------