emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/fontset.c [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/fontset.c [emacs-unicode-2]
Date: Thu, 04 Nov 2004 04:05:31 -0500

Index: emacs/src/fontset.c
diff -c emacs/src/fontset.c:1.77.4.23 emacs/src/fontset.c:1.77.4.24
*** emacs/src/fontset.c:1.77.4.23       Wed Oct 27 05:42:01 2004
--- emacs/src/fontset.c Thu Nov  4 08:55:31 2004
***************
*** 1076,1082 ****
        {
          if (*p0 == '-')
            ndashes++;
!         else if (*p0 == '*')
            nstars++;
        }
  
--- 1076,1082 ----
        {
          if (*p0 == '-')
            ndashes++;
!         else if (*p0 == '*' && p0 > SDATA (pattern) && p0[-1] != '\\')
            nstars++;
        }
  
***************
*** 1091,1097 ****
        *p1++ = '^';
        for (p0 = (char *) SDATA (pattern); *p0; p0++)
        {
!         if (*p0 == '*')
            {
              if (ndashes < 14)
                *p1++ = '.';
--- 1091,1097 ----
        *p1++ = '^';
        for (p0 = (char *) SDATA (pattern); *p0; p0++)
        {
!         if (*p0 == '*' && p0 > SDATA (pattern) && p0[-1] != '\\')
            {
              if (ndashes < 14)
                *p1++ = '.';




reply via email to

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