CComponentsPicture: add missing define of dimensions after init

Origin commit data
------------------
Branch: ni/coolstream
Commit: 764dbcd429
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-25 (Sun, 25 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2012-11-25 22:12:02 +01:00
parent 9899cfbff5
commit a5ab6c78c7

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)