Commit 198830aa authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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)
parent 36fea8fe
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
......
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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)
{
......
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