mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 09:28:54 +02:00
unicode: Fix a few issues with G_UNICHAR_MAX_DECOMPOSITION_LENGTH
Raised by Matthias in bgo#665685 but which I didn't spot until after pushing
commit 3ac7c35656
.
Renames G_UNICHAR_MAX_DECOMPOSITION_LEN to G_UNICHAR_MAX_DECOMPOSITION_LENGTH
and fixes a few documentation issues.
See: bgo#665685
This commit is contained in:
@@ -855,7 +855,7 @@ real_toupper (const gchar *str,
|
||||
* which could simplify this considerably.
|
||||
*/
|
||||
gsize decomp_len, i;
|
||||
gunichar decomp[G_UNICHAR_MAX_DECOMPOSITION_LEN];
|
||||
gunichar decomp[G_UNICHAR_MAX_DECOMPOSITION_LENGTH];
|
||||
|
||||
decomp_len = g_unichar_fully_decompose (c, FALSE, decomp, G_N_ELEMENTS (decomp));
|
||||
for (i=0; i < decomp_len; i++)
|
||||
|
Reference in New Issue
Block a user