From de4ef8a65afd0c38f8bbdfcb3b90ff82a98d1483 Mon Sep 17 00:00:00 2001 From: pescuma Date: Sat, 24 Jan 2009 05:38:13 +0000 Subject: 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 --- Plugins/skins/SkinLib/DialogState_v8_wrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Plugins/skins/SkinLib/DialogState_v8_wrapper.cpp') diff --git a/Plugins/skins/SkinLib/DialogState_v8_wrapper.cpp b/Plugins/skins/SkinLib/DialogState_v8_wrapper.cpp index 4ab4951..5739414 100644 --- a/Plugins/skins/SkinLib/DialogState_v8_wrapper.cpp +++ b/Plugins/skins/SkinLib/DialogState_v8_wrapper.cpp @@ -42,7 +42,7 @@ static void Set_DialogState_width(Local property, Local value, co if (tmp == NULL) return; - if (!value.IsEmpty() && value->IsInt32()) + if (!value.IsEmpty() && value->IsNumber()) tmp->setWidth(value->Int32Value()); } @@ -76,7 +76,7 @@ static void Set_DialogState_height(Local property, Local value, c if (tmp == NULL) return; - if (!value.IsEmpty() && value->IsInt32()) + if (!value.IsEmpty() && value->IsNumber()) tmp->setHeight(value->Int32Value()); } -- cgit v1.2.3