diff options
Diffstat (limited to 'hardinfo2/arch/common/languages.h')
-rw-r--r-- | hardinfo2/arch/common/languages.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/arch/common/languages.h b/hardinfo2/arch/common/languages.h index 3a31ef7f..71e05dab 100644 --- a/hardinfo2/arch/common/languages.h +++ b/hardinfo2/arch/common/languages.h @@ -19,7 +19,7 @@ void scan_languages(OperatingSystem * os) { FILE *locale; - gchar buf[128], *retval = ""; + gchar buf[512], *retval = ""; locale = popen("locale -va", "r"); if (!locale) @@ -36,7 +36,7 @@ scan_languages(OperatingSystem * os) *date = NULL, *codeset = NULL; - while (fgets(buf, 128, locale)) { + while (fgets(buf, 512, locale)) { if (!strncmp(buf, "locale:", 7)) { sscanf(buf, "locale: %s", name); fgets(buf, 128, locale); |