Fix two character lang codes not working.

This commit is contained in:
Jim Derry 2016-03-23 14:38:17 +08:00
parent ee151f07f1
commit 2cf03f7fa9
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ tmbstr tidyNormalizedLocaleName( ctmbstr locale )
len = strlen( search );
len = len <= 5 ? len : 5;
for ( i = 0; i < len; i++ )
for ( i = 0; i <= len; i++ )
{
if ( i == 2 )
{