[glib] Trivial: fix a typo



commit f92438463464c827a1f28d7a1c42bc74a75bdb72
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 21 20:56:04 2011 -0400

    Trivial: fix a typo

 glib/ghash.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/ghash.c b/glib/ghash.c
index e9eace5..df7f3fd 100644
--- a/glib/ghash.c
+++ b/glib/ghash.c
@@ -201,7 +201,7 @@
 #define HASH_TABLE_MIN_SHIFT 3  /* 1 << 3 == 8 buckets */
 
 #define HASH_IS_UNUSED(h_) ((h_) == 0)
-#define HASH_IS_TOOMBSTONE(h_) ((h_) == 1)
+#define HASH_IS_TOMBSTONE(h_) ((h_) == 1)
 #define HASH_IS_REAL(h_) ((h_) >= 2)
 
 struct _GHashTable
@@ -385,7 +385,7 @@ g_hash_table_lookup_node (GHashTable    *hash_table,
               return node_index;
             }
         }
-      else if (HASH_IS_TOOMBSTONE (node_hash) && !have_tombstone)
+      else if (HASH_IS_TOMBSTONE (node_hash) && !have_tombstone)
         {
           first_tombstone = node_index;
           have_tombstone = TRUE;



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