summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2005-07-27 22:14:46 +0000
committerManish Singh <yosh@src.gnome.org>2005-07-27 22:14:46 +0000
commit45acfe9ada6cd6b75ded6b4b32d858e92c92082a (patch)
tree27b9f5adab95c3a0fb1e7d2129479f6aa8ba4315
parent68e152ccd38eda90634ca65ebd88f3016df9281a (diff)
downloadpango-45acfe9ada6cd6b75ded6b4b32d858e92c92082a.tar.gz
put parens around bitwise &, to appease gcc.
2005-07-26 Manish Singh <yosh@gimp.org> * pango/pango-utils.c (pango_is_zero_width): put parens around bitwise &, to appease gcc.
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--pango/pango-utils.c2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ec5f4a14..99c8d31d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-26 Manish Singh <yosh@gimp.org>
+
+ * pango/pango-utils.c (pango_is_zero_width): put parens around bitwise
+ &, to appease gcc.
+
2005-07-26 Owen Taylor <otaylor@redhat.com>
* === Released 1.9.1 ===
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index ec5f4a14..99c8d31d 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,8 @@
+2005-07-26 Manish Singh <yosh@gimp.org>
+
+ * pango/pango-utils.c (pango_is_zero_width): put parens around bitwise
+ &, to appease gcc.
+
2005-07-26 Owen Taylor <otaylor@redhat.com>
* === Released 1.9.1 ===
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 18ef8924..32d93828 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -1742,7 +1742,7 @@ pango_is_zero_width (gunichar ch)
* 202E RIGHT-TO-LEFT OVERRIDE
* FEFF ZERO WIDTH NO-BREAK SPACE
*/
- return (ch & ~(gunichar)0x003F == 0x2000 && (
+ return ((ch & ~(gunichar)0x003F) == 0x2000 && (
(ch >= 0x200B && ch <= 0x200F) ||
ch == 0x2028 ||
(ch >= 0x202A && ch <= 0x202E)