pango r2799 - trunk/pango
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2799 - trunk/pango
- Date: Tue, 27 Jan 2009 12:23:31 +0000 (UTC)
Author: behdad
Date: Tue Jan 27 12:23:31 2009
New Revision: 2799
URL: http://svn.gnome.org/viewvc/pango?rev=2799&view=rev
Log:
Minor.
Modified:
trunk/pango/pangofc-fontmap.c
Modified: trunk/pango/pangofc-fontmap.c
==============================================================================
--- trunk/pango/pangofc-fontmap.c (original)
+++ trunk/pango/pangofc-fontmap.c Tue Jan 27 12:23:31 2009
@@ -951,7 +951,7 @@
PangoFcFontMapPrivate *priv = fcfontmap->priv;
FcPattern *old_pattern;
- if (!priv->pattern_hash)
+ if (G_UNLIKELY (!priv->pattern_hash))
priv->pattern_hash =
g_hash_table_new_full ((GHashFunc)pango_fc_pattern_hash,
(GEqualFunc)pango_fc_pattern_equal,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]