diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-01-24 05:38:13 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-01-24 05:38:13 +0000 |
commit | de4ef8a65afd0c38f8bbdfcb3b90ff82a98d1483 (patch) | |
tree | feefeaeb3734eaebdb5872609606edc84d6f8fa3 /Plugins/skins/SkinLib/BorderState_v8_wrapper.cpp | |
parent | be94a568ef65120465b49f5c6db90cd4ec3c3eb2 (diff) |
skins: fix for floats and added valign (not used yet)
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@133 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/skins/SkinLib/BorderState_v8_wrapper.cpp')
-rw-r--r-- | Plugins/skins/SkinLib/BorderState_v8_wrapper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Plugins/skins/SkinLib/BorderState_v8_wrapper.cpp b/Plugins/skins/SkinLib/BorderState_v8_wrapper.cpp index 732ca29..71cc057 100644 --- a/Plugins/skins/SkinLib/BorderState_v8_wrapper.cpp +++ b/Plugins/skins/SkinLib/BorderState_v8_wrapper.cpp @@ -42,7 +42,7 @@ static void Set_BorderState_left(Local<String> property, Local<Value> value, con if (tmp == NULL)
return;
- if (!value.IsEmpty() && value->IsInt32())
+ if (!value.IsEmpty() && value->IsNumber())
tmp->setLeft(value->Int32Value());
}
@@ -76,7 +76,7 @@ static void Set_BorderState_right(Local<String> property, Local<Value> value, co if (tmp == NULL)
return;
- if (!value.IsEmpty() && value->IsInt32())
+ if (!value.IsEmpty() && value->IsNumber())
tmp->setRight(value->Int32Value());
}
@@ -110,7 +110,7 @@ static void Set_BorderState_top(Local<String> property, Local<Value> value, cons if (tmp == NULL)
return;
- if (!value.IsEmpty() && value->IsInt32())
+ if (!value.IsEmpty() && value->IsNumber())
tmp->setTop(value->Int32Value());
}
@@ -144,7 +144,7 @@ static void Set_BorderState_bottom(Local<String> property, Local<Value> value, c if (tmp == NULL)
return;
- if (!value.IsEmpty() && value->IsInt32())
+ if (!value.IsEmpty() && value->IsNumber())
tmp->setBottom(value->Int32Value());
}
|