Fix a Unicode typo

The name of one of the Unicode Break types is misspelt.
Add an alias, since it annoys me every time I look at
Pango's break code.
This commit is contained in:
Matthias Clasen
2021-07-27 08:01:49 -04:00
parent 02742ef957
commit 6a6da9637a
5 changed files with 16 additions and 5 deletions

View File

@@ -131,7 +131,7 @@ test_unichar_break_type (void)
{ G_UNICODE_BREAK_HYPHEN, 0x002D },
{ G_UNICODE_BREAK_NON_STARTER, 0x17D6 },
{ G_UNICODE_BREAK_OPEN_PUNCTUATION, 0x0028 },
{ G_UNICODE_BREAK_CLOSE_PARANTHESIS, 0x0029 },
{ G_UNICODE_BREAK_CLOSE_PARENTHESIS, 0x0029 },
{ G_UNICODE_BREAK_CLOSE_PUNCTUATION, 0x007D },
{ G_UNICODE_BREAK_QUOTATION, 0x0022 },
{ G_UNICODE_BREAK_EXCLAMATION, 0x0021 },