[gtk+] cssnode: Fix a typo leading to very poor cache hashing



commit 79a3a7800e0babb8cc7f1738ce2d0b0298fbcf8b
Author: Colomban Wendling <ban herbesfolles org>
Date:   Sun Nov 1 02:31:53 2015 +0100

    cssnode: Fix a typo leading to very poor cache hashing

 gtk/gtkcssnode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssnode.c b/gtk/gtkcssnode.c
index bf4a592..32ddd79 100644
--- a/gtk/gtkcssnode.c
+++ b/gtk/gtkcssnode.c
@@ -263,7 +263,7 @@ static guint
 gtk_global_parent_cache_hash (gconstpointer item)
 {
   return gtk_css_node_declaration_hash (UNPACK_DECLARATION (item)) << 2
-    || UNPACK_FLAGS (item);
+    | UNPACK_FLAGS (item);
 }
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]