qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs htmlsrc.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs htmlsrc.c
Date: Tue, 20 May 2014 07:14:23 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        14/05/20 07:14:23

Modified files:
        .              : htmlsrc.c 

Log message:
        htmlsrc: check dashes when matching tags

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/htmlsrc.c?cvsroot=qemacs&r1=1.16&r2=1.17

Patches:
Index: htmlsrc.c
===================================================================
RCS file: /sources/qemacs/qemacs/htmlsrc.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- htmlsrc.c   17 May 2014 10:15:22 -0000      1.16
+++ htmlsrc.c   20 May 2014 07:14:23 -0000      1.17
@@ -87,7 +87,7 @@
 {
     const unsigned int *p;
 
-    if (ustristart(buf + i, str, &p) && !qe_isalnum_(*p)) {
+    if (ustristart(buf + i, str, &p) && *p != '-' && !qe_isalnum_(*p)) {
         if (iend)
             *iend = p - buf;
         return 1;



reply via email to

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