CComponentsPicture: add missing define of dimensions after init

Origin commit data
------------------
Commit: 764dbcd429
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-25 (Sun, 25 Nov 2012)
This commit is contained in:
2012-11-25 22:12:02 +01:00
parent 38ab110e54
commit 449e3e3055

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)