Commit e364960b authored by Cyril Deguet's avatar Cyril Deguet

* ctrl_slider.cpp: fixed an uninitialized member (and a segfault..)

parent fff99eea
...@@ -337,7 +337,7 @@ CtrlSliderBg::CtrlSliderBg( intf_thread_t *pIntf, ...@@ -337,7 +337,7 @@ CtrlSliderBg::CtrlSliderBg( intf_thread_t *pIntf,
int thickness, GenericBitmap *pBackground, int thickness, GenericBitmap *pBackground,
int nbHoriz, int nbVert, int padHoriz, int padVert, int nbHoriz, int nbVert, int padHoriz, int padVert,
VarBool *pVisible, const UString &rHelp ): VarBool *pVisible, const UString &rHelp ):
CtrlGeneric( pIntf, rHelp, pVisible ), CtrlGeneric( pIntf, rHelp, pVisible ), m_pCursor( NULL ),
m_rVariable( rVariable ), m_thickness( thickness ), m_rCurve( rCurve ), m_rVariable( rVariable ), m_thickness( thickness ), m_rCurve( rCurve ),
m_width( rCurve.getWidth() ), m_height( rCurve.getHeight() ), m_width( rCurve.getWidth() ), m_height( rCurve.getHeight() ),
m_pImgSeq( NULL ), m_nbHoriz( nbHoriz ), m_nbVert( nbVert ), m_pImgSeq( NULL ), m_nbHoriz( nbHoriz ), m_nbVert( nbVert ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment