stas            Thu Jul  2 22:36:16 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/intl/locale    locale_methods.c 
  Log:
  bugfix
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/locale/locale_methods.c?r1=1.1.2.10&r2=1.1.2.11&diff_format=u
Index: php-src/ext/intl/locale/locale_methods.c
diff -u php-src/ext/intl/locale/locale_methods.c:1.1.2.10 
php-src/ext/intl/locale/locale_methods.c:1.1.2.11
--- php-src/ext/intl/locale/locale_methods.c:1.1.2.10   Thu Jul  2 00:43:26 2009
+++ php-src/ext/intl/locale/locale_methods.c    Thu Jul  2 22:36:16 2009
@@ -14,7 +14,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: locale_methods.c,v 1.1.2.10 2009/07/02 00:43:26 stas Exp $ */
+/* $Id: locale_methods.c,v 1.1.2.11 2009/07/02 22:36:16 stas Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -147,7 +147,7 @@
        int result =-1;
        int i;
        
-       for(i=savedPos; i>=0; i--) {
+       for(i=savedPos-1; i>=0; i--) {
                if(isIDSeparator(*(str+i)) ){
                        /* delimiter found; check for singleton */
                        if(i>=2 && isIDSeparator(*(str+i-2)) ){



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to