changeset 3215:09ffa2ec6fbf

Updated #295: Fixed missing Subtle::Gravity
author unexist
date Fri, 01 Jun 2012 14:30:23 +0200
parents a71e599fb6eb
children 70d12d1f88e0
files src/subtle/ruby.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/subtle/ruby.c	Thu May 31 15:42:48 2012 +0200
+++ b/src/subtle/ruby.c	Fri Jun 01 14:30:23 2012 +0200
@@ -180,7 +180,7 @@
               SubGravity *g = GRAVITY(subArrayGet(subtle->gravities,
                 c->gravityid));
 
-              klass = rb_const_get(mod, rb_intern("Gravity"));
+              klass = rb_const_get(subtlext, rb_intern("Gravity"));
               value = rb_funcall(klass, rb_intern("new"), 1,
                 rb_str_new2(XrmQuarkToString(g->quark)));