locale grouping strings should end in '\0'

This commit is contained in:
Benjamin Peterson 2010-06-07 21:37:09 +00:00
parent 3ca14e93c9
commit c4afe2950a
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ get_locale_info(int type, LocaleInfo *locale_info)
case LT_DEFAULT_LOCALE:
locale_info->decimal_point = ".";
locale_info->thousands_sep = ",";
locale_info->grouping = "\3"; /* Group every 3 characters,
locale_info->grouping = "\3\0"; /* Group every 3 characters,
trailing 0 means repeat
infinitely. */
break;