mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
2:supplement to a648daba75
This commit is contained in:
@@ -140,10 +140,10 @@ int CLuaInstCCText::CCTextNew(lua_State *L)
|
|||||||
|
|
||||||
CComponentsForm* pw = (parent && parent->w) ? parent->w->getBodyObject() : NULL;
|
CComponentsForm* pw = (parent && parent->w) ? parent->w->getBodyObject() : NULL;
|
||||||
if(pw){
|
if(pw){
|
||||||
if(dx < 1)
|
|
||||||
dx = pw->getHeight();
|
|
||||||
if(dy < 1)
|
if(dy < 1)
|
||||||
dy = pw->getWidth();
|
dy = pw->getHeight();
|
||||||
|
if(dx < 1)
|
||||||
|
dx = pw->getWidth();
|
||||||
}
|
}
|
||||||
if(dx < 1)
|
if(dx < 1)
|
||||||
dx = 100;
|
dx = 100;
|
||||||
|
Reference in New Issue
Block a user