projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dbb86e
)
Fix a typo
author
liulinsong
<liulinsong@kylinos.cn>
Wed, 31 May 2023 14:13:48 +0000
(22:13 +0800)
committer
Raspbian forward porter
<root@raspbian.org>
Wed, 22 Nov 2023 04:54:09 +0000
(
04:54
+0000)
1. According to the UTF-8 spec, ASCII character's charcode is from
0 to 127 inclusively.
2. Any charcode which is greater than or equal to 128 will be
a multi-byte character.
Origin: 3.24.39, commit:
1659cefde792f127f604f15ae12f17ede10f1c00
Gbp-Pq: Name Fix-a-typo.patch
gtk/gtkcssparser.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssparser.c
b/gtk/gtkcssparser.c
index fc8ede28b886f149fa6c650ab981e0929856c296..a9f0d3712f6e4c3c02d71be8ef72f0e06205dacd 100644
(file)
--- a/
gtk/gtkcssparser.c
+++ b/
gtk/gtkcssparser.c
@@
-373,7
+373,7
@@
_gtk_css_parser_read_char (GtkCssParser *parser,
parser->data++;
return TRUE;
}
- if ((*(guchar *) parser->data) >= 12
7
)
+ if ((*(guchar *) parser->data) >= 12
8
)
{
gsize len = g_utf8_skip[(guint) *(guchar *) parser->data];