CComponentsPicture: add missing define of dimensions after init

This commit is contained in:
2012-11-25 22:12:02 +01:00
parent 14393b36d9
commit 764dbcd429

View File

@@ -883,8 +883,8 @@ void CComponentsPicture::initVarPicture()
}
int sw = (shadow ? shadow_w :0);
width = max(pic_width, width) + sw ;
height = max(pic_height, height) + sw ;
width = max(max(pic_width, pic_max_w), width) + sw ;
height = max(max(pic_height, pic_max_h), height) + sw ;
}
void CComponentsPicture::paint(bool do_save_bg)