[GRASS-SVN] r33068 - grass/trunk/lib/cairodriver
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 25 12:45:05 EDT 2008
Author: glynn
Date: 2008-08-25 12:45:03 -0400 (Mon, 25 Aug 2008)
New Revision: 33068
Modified:
grass/trunk/lib/cairodriver/Text.c
Log:
Fix bug in Cairo_text_box()
Modified: grass/trunk/lib/cairodriver/Text.c
===================================================================
--- grass/trunk/lib/cairodriver/Text.c 2008-08-25 15:37:18 UTC (rev 33067)
+++ grass/trunk/lib/cairodriver/Text.c 2008-08-25 16:45:03 UTC (rev 33068)
@@ -142,8 +142,8 @@
*l = cur_x + ext.x_bearing;
*r = cur_x + ext.x_bearing + ext.width;
- *t = cur_x + ext.y_bearing;
- *b = cur_x + ext.y_bearing + ext.height;
+ *t = cur_y + ext.y_bearing;
+ *b = cur_y + ext.y_bearing + ext.height;
return;
}
More information about the grass-commit
mailing list