diff options
author | Zoltan Varga <vargaz@gmail.com> | 2012-02-29 16:04:08 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2012-02-29 20:50:30 +0400 |
commit | 1cdafa6797495b40ec0f9dde1a86d614a9d0d6c6 (patch) | |
tree | a7f00be21b50680edb3fa1c411fdaf36e7e9055e /eglib | |
parent | df6eff26912f4e5ebff2f81158f2fca1566454df (diff) |
Fix warnings reported by clang.
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; |