mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.ide cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4399 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b1df79eb55
commit
bd00706432
1 changed files with 2 additions and 2 deletions
|
|
@ -260,7 +260,7 @@ EscValue LayoutItem::CreateEsc() const
|
|||
for(int q = 0; q < property.GetCount(); q++) {
|
||||
EscValue w;
|
||||
const Value& v = ~property[q];
|
||||
if(IsType<Font>(v)) {
|
||||
if(v.Is<Font>()) {
|
||||
Font fnt = v;
|
||||
if(fnt.GetHeight())
|
||||
fnt.Height(Ctrl::VertLayoutZoom(fnt.GetHeight()));
|
||||
|
|
@ -270,7 +270,7 @@ EscValue LayoutItem::CreateEsc() const
|
|||
w = (WString)v;
|
||||
if(IsNumber(v))
|
||||
w = (double)v;
|
||||
if(IsType<Color>(v))
|
||||
if(v.Is<Color>())
|
||||
w = EscColor(v);
|
||||
ctrl.MapSet(property[q].name, w);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue