changeset 3175:3049382ee3fe

Fixed style selection in sublet geometry reader
author unexist
date Fri, 20 Jan 2012 00:30:49 +0100
parents 5065458b72ff
children f0879d15c5b7
files src/subtle/ruby.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/subtle/ruby.c	Sat Jan 14 16:46:20 2012 +0100
+++ b/src/subtle/ruby.c	Fri Jan 20 00:30:49 2012 +0100
@@ -2968,7 +2968,7 @@
 
       /* Pick sublet style */
       if(subtle->styles.sublets.styles)
-        s = subArrayGet(s->styles, p->sublet->styleid);
+        s = subArrayGet(subtle->styles.sublets.styles, p->sublet->styleid);
 
       subPanelGeometry(p, s ? s : &subtle->styles.sublets, &geom);