summaryrefslogtreecommitdiff
path: root/src/htable.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-11-16 17:42:53 +0000
committerFrederic Culot <calcurse@culot.org>2008-11-16 17:42:53 +0000
commit9d4899110a067d4899116ac229c8b4c489096b60 (patch)
treef10f31dc5e8114791236ada1ebee8d27b31b7e72 /src/htable.h
parente8f12c65ca0245079ae015a90e7a14109759cdda (diff)
downloadcalcurse-9d4899110a067d4899116ac229c8b4c489096b60.zip
More work on implementing user-definable keybindings
Diffstat (limited to 'src/htable.h')
-rw-r--r--src/htable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htable.h b/src/htable.h
index 7ceab4c..67d4a0d 100644
--- a/src/htable.h
+++ b/src/htable.h
@@ -1,4 +1,4 @@
-/* $calcurse: htable.h,v 1.2 2008/11/09 20:10:18 culot Exp $ */
+/* $Id: htable.h,v 1.3 2008/11/16 17:42:53 culot Exp $ */
/*
* Copyright (c) 2008 Frederic Culot <frederic@culot.org>
@@ -152,7 +152,7 @@ name##_HTABLE_INSERT(struct name *head, struct type *elm) \
while ((__bktp = *__bktpp)) \
{ \
if (!(cmp)(elm, __bktp)) \
- return __bktp; \
+ return NULL; \
else \
{ \
__pos++; \