Kaydet (Commit) c4afe295 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

locale grouping strings should end in '\0'

üst 3ca14e93
...@@ -649,7 +649,7 @@ get_locale_info(int type, LocaleInfo *locale_info) ...@@ -649,7 +649,7 @@ get_locale_info(int type, LocaleInfo *locale_info)
case LT_DEFAULT_LOCALE: case LT_DEFAULT_LOCALE:
locale_info->decimal_point = "."; locale_info->decimal_point = ".";
locale_info->thousands_sep = ","; 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 trailing 0 means repeat
infinitely. */ infinitely. */
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment