Fix two character lang codes not working.
This commit is contained in:
parent
ee151f07f1
commit
2cf03f7fa9
|
@ -622,7 +622,7 @@ tmbstr tidyNormalizedLocaleName( ctmbstr locale )
|
||||||
len = strlen( search );
|
len = strlen( search );
|
||||||
len = len <= 5 ? len : 5;
|
len = len <= 5 ? len : 5;
|
||||||
|
|
||||||
for ( i = 0; i < len; i++ )
|
for ( i = 0; i <= len; i++ )
|
||||||
{
|
{
|
||||||
if ( i == 2 )
|
if ( i == 2 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue