cvs: php-src /ext/intl/locale locale_methods.c

From: Date: Thu, 02 Jul 2009 22:37:03 +0000
Subject: cvs: php-src /ext/intl/locale locale_methods.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-59182@lists.php.net to get a copy of this message
stas Thu Jul 2 22:37:03 2009 UTC Modified files: /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.13&r2=1.14&diff_format=u Index: php-src/ext/intl/locale/locale_methods.c diff -u php-src/ext/intl/locale/locale_methods.c:1.13 php-src/ext/intl/locale/locale_methods.c:1.14 --- php-src/ext/intl/locale/locale_methods.c:1.13 Thu Jul 2 00:47:11 2009 +++ php-src/ext/intl/locale/locale_methods.c Thu Jul 2 22:37:03 2009 @@ -14,7 +14,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: locale_methods.c,v 1.13 2009/07/02 00:47:11 stas Exp $ */ +/* $Id: locale_methods.c,v 1.14 2009/07/02 22:37:03 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)) ){

« previous php.cvs (#59182) next »