* cmd.c (guess_message_value): Typo - replace "LC_MESSAGE" with

"LC_MESSAGES".
This commit is contained in:
Pavel Roskin 2001-08-12 08:36:26 +00:00
parent af4e2abdab
commit 76926ea622
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2001-08-12 Pavel Roskin <proski@gnu.org>
* cmd.c (guess_message_value): Typo - replace "LC_MESSAGE" with
"LC_MESSAGES".
* dir.c (string_sortcomp) [HAVE_STRCOLL]: Always use strcmp()
for case sensitive sort. For case insensitive sort use
strcoll() if it's case insensitive for ASCII and g_strcasecmp()

View File

@ -1206,8 +1206,8 @@ void mkdir_panel_cmd (void)
mkdir_cmd (cpanel);
}
/* partly taken from dcgettect.c, returns "" for C locale */
/* value should be gfreed by calling function */
/* partly taken from dcigettext.c, returns "" for default locale */
/* value should be freed by calling function g_free() */
char *guess_message_value (unsigned want_info)
{
const char *var[] = {
@ -1217,7 +1217,7 @@ char *guess_message_value (unsigned want_info)
/* Setting of LC_ALL overwrites all other. */
"LC_ALL",
/* Next comes the name of the desired category. */
"LC_MESSAGE",
"LC_MESSAGES",
/* Last possibility is the LANG environment variable. */
"LANG",
/* NULL exit loops */