changeset 3199:f5d825c4519e

Replaced obsolete strut style property with padding
author unexist
date Tue, 10 Apr 2012 01:37:27 +0200
parents 8571a68d0fa8
children 14c6dc634785
files src/subtle/ruby.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/subtle/ruby.c	Sun Mar 25 18:49:56 2012 +0200
+++ b/src/subtle/ruby.c	Tue Apr 10 01:37:27 2012 +0200
@@ -1149,7 +1149,8 @@
 
       /* Set strut */
       if(T_ARRAY == rb_type(value = rb_hash_lookup(params,
-          CHAR2SYM("strut"))))
+          CHAR2SYM("strut"))) || T_ARRAY == rb_type(value =
+          rb_hash_lookup(params, CHAR2SYM("padding"))))
         RubyArrayToSides(value, &s->padding);
 
       /* Set both panel colors */