Account for some characters having now uppercase/lowercase equivalents in

Mon Feb 25 21:58:01 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/guniprop.c (g_unichar_toupper/lower): Account
        for some characters having now uppercase/lowercase
        equivalents in code, docs. (#65416)
This commit is contained in:
Owen Taylor 2002-02-26 03:01:09 +00:00 committed by Owen Taylor
parent 36fea8feaf
commit 198830aa35
9 changed files with 52 additions and 4 deletions

View File

@ -1,3 +1,9 @@
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (tokenize_command_line): Fix quoting

View File

@ -1,3 +1,9 @@
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (tokenize_command_line): Fix quoting

View File

@ -1,3 +1,9 @@
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (tokenize_command_line): Fix quoting

View File

@ -1,3 +1,9 @@
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (tokenize_command_line): Fix quoting

View File

@ -1,3 +1,9 @@
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (tokenize_command_line): Fix quoting

View File

@ -1,3 +1,9 @@
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (tokenize_command_line): Fix quoting

View File

@ -1,3 +1,9 @@
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (tokenize_command_line): Fix quoting

View File

@ -1,3 +1,9 @@
Mon Feb 25 21:58:01 2002 Owen Taylor <otaylor@redhat.com>
* glib/guniprop.c (g_unichar_toupper/lower): Account
for some characters having now uppercase/lowercase
equivalents in code, docs. (#65416)
Mon Feb 25 16:31:09 2002 Owen Taylor <otaylor@redhat.com>
* glib/gshell.c (tokenize_command_line): Fix quoting

View File

@ -350,7 +350,7 @@ g_unichar_iswide (gunichar c)
*
* Return value: the result of converting @c to uppercase.
* If @c is not an lowercase or titlecase character,
* @c is returned unchanged.
* or has no upper case equivalent @c is returned unchanged.
**/
gunichar
g_unichar_toupper (gunichar c)
@ -365,7 +365,7 @@ g_unichar_toupper (gunichar c)
return p[0] * 256 + p[1];
}
else
return val;
return val ? val : c;
}
else if (t == G_UNICODE_TITLECASE_LETTER)
{
@ -387,7 +387,7 @@ g_unichar_toupper (gunichar c)
*
* Return value: the result of converting @c to lower case.
* If @c is not an upperlower or titlecase character,
* @c is returned unchanged.
* or has no lowercase equivalent @c is returned unchanged.
**/
gunichar
g_unichar_tolower (gunichar c)
@ -402,7 +402,7 @@ g_unichar_tolower (gunichar c)
return p[0] * 256 + p[1];
}
else
return val;
return val ? val : c;
}
else if (t == G_UNICODE_TITLECASE_LETTER)
{