diff options
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/src/gutf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eglib/src/gutf8.c b/eglib/src/gutf8.c index 052229d5274..ea3e9bcfd87 100644 --- a/eglib/src/gutf8.c +++ b/eglib/src/gutf8.c @@ -290,7 +290,7 @@ g_utf8_find_prev_char (const gchar *str, const gchar *p) { while (p > str) { p--; - if ((*p && 0xc0) != 0xb0) + if ((*p & 0xc0) != 0xb0) return (gchar *)p; } return NULL; |