pango r2754 - in trunk: . pango



Author: behdad
Date: Mon Dec  8 03:59:49 2008
New Revision: 2754
URL: http://svn.gnome.org/viewvc/pango?rev=2754&view=rev

Log:
2008-12-07  Behdad Esfahbod  <behdad gnome org>

        Bug 499626 â Space should be optional after comma in
        PangoFontDescription input string

        * pango/fonts.c (getword): Don't require space after comma.

Modified:
   trunk/ChangeLog
   trunk/pango/fonts.c

Modified: trunk/pango/fonts.c
==============================================================================
--- trunk/pango/fonts.c	(original)
+++ trunk/pango/fonts.c	Mon Dec  8 03:59:49 2008
@@ -967,7 +967,7 @@
     last--;
 
   result = last;
-  while (result > str && !g_ascii_isspace (*(result - 1)))
+  while (result > str && !g_ascii_isspace (*(result - 1)) && *(result - 1) != ',')
     result--;
 
   *wordlen = last - result;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]