mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
2:supplement to 5ac8d0085b
Origin commit data ------------------ Commit:c37ef21912
Author: Jacek Jendrzej <overx300@gmail.com> Date: 2016-08-20 (Sat, 20 Aug 2016) Origin message was: ------------------ 2:supplement to5ac8d0085b
This commit is contained in:
@@ -140,10 +140,10 @@ int CLuaInstCCText::CCTextNew(lua_State *L)
|
||||
|
||||
CComponentsForm* pw = (parent && parent->w) ? parent->w->getBodyObject() : NULL;
|
||||
if(pw){
|
||||
if(dx < 1)
|
||||
dx = pw->getHeight();
|
||||
if(dy < 1)
|
||||
dy = pw->getWidth();
|
||||
dy = pw->getHeight();
|
||||
if(dx < 1)
|
||||
dx = pw->getWidth();
|
||||
}
|
||||
if(dx < 1)
|
||||
dx = 100;
|
||||
|
Reference in New Issue
Block a user