Author: fejj
Date: 2007-06-18 12:01:56 -0400 (Mon, 18 Jun 2007)
New Revision: 80016

Modified:
   trunk/moon/src/text.cpp
Log:
oops, my last commit was broken



Modified: trunk/moon/src/text.cpp
===================================================================
--- trunk/moon/src/text.cpp     2007-06-18 15:59:10 UTC (rev 80015)
+++ trunk/moon/src/text.cpp     2007-06-18 16:01:56 UTC (rev 80016)
@@ -536,11 +536,11 @@
                                        if ((brush = inline_get_foreground 
(item)))
                                                brush->SetupBrush (s->cairo, 
this);
                                        
-                                       pango_cairo_show_layout (s->cairo, 
layout);
+                                       pango_cairo_show_layout (s->cairo, 
run->layout);
                                } else
-                                       pango_cairo_layout_path (s->cairo, 
layout);
+                                       pango_cairo_layout_path (s->cairo, 
run->layout);
                                
-                               pango_layout_get_pixel_size (layout, &width, 
&height);
+                               pango_layout_get_pixel_size (run->layout, 
&width, &height);
                                
                                newline == newline || strchr (text, '\n');
                                if (height > line_height || newline) {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to