patches/vte-01-vtefc.diff
author johan
Thu, 10 Jun 2004 13:20:13 +0000
changeset 3100 499eafbb1c5a
permissions -rw-r--r--
2004-06-10 Johan Steyn <[email protected]> * vte.spec: Changed to use correct autotools, hence no longer need autotools patch * patches/vte-01-autotools.diff: Removed * patches/vte-02-vtefc.diff: Removed * patches/vte-01-vtefc.diff: Added

--- vte-0.11.11/src/vtefc.c	2004-04-20 06:16:56.000000000 +0100
+++ vte-0.11.11.new/src/vtefc.c	2004-06-04 14:24:04.000000000 +0100
@@ -158,11 +158,13 @@
 				    _vte_fc_weight_from_pango_weight(weight));
 	}
 
+#ifdef FC_WIDTH
 	if (pango_mask & PANGO_FONT_MASK_STRETCH) {
 		stretch = pango_font_description_get_stretch(font_desc);
 		FcPatternAddInteger(pattern, FC_WIDTH,
 				    _vte_fc_width_from_pango_stretch(stretch));
 	}
+#endif
 
 	if (pango_mask & PANGO_FONT_MASK_STYLE) {
 		style = pango_font_description_get_style(font_desc);