qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs util.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs util.c
Date: Sun, 01 Jun 2014 18:02:31 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        14/06/01 18:02:31

Modified files:
        .              : util.c 

Log message:
        allow NULL table in strfind

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/util.c?cvsroot=qemacs&r1=1.66&r2=1.67

Patches:
Index: util.c
===================================================================
RCS file: /sources/qemacs/qemacs/util.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -r1.66 -r1.67
--- util.c      27 May 2014 22:59:50 -0000      1.66
+++ util.c      1 Jun 2014 18:02:31 -0000       1.67
@@ -522,6 +522,9 @@
     int c, len;
     const char *p;
 
+    if (!keytable)
+        return 0;
+
     c = *str;
     len = strlen(str);
     /* need to special case the empty string */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]