summaryrefslogtreecommitdiff
path: root/community/tilda/tilda-conf-sigsegv.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/tilda/tilda-conf-sigsegv.patch')
-rw-r--r--community/tilda/tilda-conf-sigsegv.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/tilda/tilda-conf-sigsegv.patch b/community/tilda/tilda-conf-sigsegv.patch
new file mode 100644
index 000000000..a48aad0a3
--- /dev/null
+++ b/community/tilda/tilda-conf-sigsegv.patch
@@ -0,0 +1,11 @@
+--- src/key_grabber.c 2008-04-08 00:12:31.000000000 +0200
++++ src/key_grabber.c 2012-05-17 19:43:25.227699421 +0200
+@@ -257,7 +257,7 @@
+ gboolean tilda_keygrabber_bind (const gchar *keystr, tilda_window *tw)
+ {
+ /* Empty strings are no good */
+- if (strcmp ("", keystr) == 0)
++ if (!keystr || strcmp ("", keystr) == 0)
+ return FALSE;
+
+ return tomboy_keybinder_bind (keystr, onKeybindingPull, tw);