diff finch/libgnt/gntkeys.c @ 19133:c6282dc3fb9f

propagate from branch 'im.pidgin.pidgin' (head 6521407fd5a6d9175e6532a874a2735658c113e9) to branch 'im.pidgin.soc.2007.finchfeat' (head 47dd316bb08a5320b3e606960fd08c7678429657)
author Eric Polino <aluink@pidgin.im>
date Thu, 05 Jul 2007 02:41:26 +0000
parents ac904659104f 48067a8f6a32
children c79177766e13
line wrap: on
line diff
--- a/finch/libgnt/gntkeys.c	Thu Jul 05 02:34:30 2007 +0000
+++ b/finch/libgnt/gntkeys.c	Thu Jul 05 02:41:26 2007 +0000
@@ -153,7 +153,7 @@
 
 const char *gnt_key_translate(const char *name)
 {
-	return g_hash_table_lookup(specials, name);
+	return name ? g_hash_table_lookup(specials, name) : NULL;
 }
 
 typedef struct {