+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
*
* 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)
return p[0] * 256 + p[1];
}
else
- return val;
+ return val ? val : c;
}
else if (t == G_UNICODE_TITLECASE_LETTER)
{
*
* 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)
return p[0] * 256 + p[1];
}
else
- return val;
+ return val ? val : c;
}
else if (t == G_UNICODE_TITLECASE_LETTER)
{