fixed bug in negative prefix (bug 309209)
authorWilliam M. Brack <wbrack@src.gnome.org>
Thu, 30 Jun 2005 21:09:55 +0000 (21:09 +0000)
committerWilliam M. Brack <wbrack@src.gnome.org>
Thu, 30 Jun 2005 21:09:55 +0000 (21:09 +0000)
* libxslt/numbers.c: fixed bug in negative prefix (bug 309209)

ChangeLog
libxslt/numbers.c

index e91aae2..f8a8260 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 30 14:09:55 PDT 2005 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/numbers.c: fixed bug in negative prefix (bug 309209)
+       
 2005-06-17  Federico Mena Quintero  <federico@ximian.com>
 
        * libxslt/xsltwin32config.h: Removed from CVS; this is a generated
index c13430f..b001952 100644 (file)
@@ -1204,8 +1204,6 @@ xsltFormatNumberConversion(xsltDecimalFormatPtr self,
                goto OUTPUT_NUMBER;
            }
 
-           /* Next skip over the -ve number info */
-           the_format += prefix_length;
            while (*the_format != 0) {
                if ( (xsltUTF8Charcmp(the_format, (self)->percent) == 0) ||
                     (xsltUTF8Charcmp(the_format, (self)->permille)== 0) ) {