/[emacs]/emacs/src/fontset.c
ViewVC logotype

Diff of /emacs/src/fontset.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.89 by handa, Mon Oct 25 02:03:32 2004 UTC revision 1.90 by handa, Thu Nov 4 02:26:43 2004 UTC
# Line 796  fontset_pattern_regexp (pattern) Line 796  fontset_pattern_regexp (pattern)
796          {          {
797            if (*p0 == '-')            if (*p0 == '-')
798              ndashes++;              ndashes++;
799            else if (*p0 == '*')            else if (*p0 == '*' && p0 > SDATA (pattern) && p0[-1] != '\\')
800              nstars++;              nstars++;
801          }          }
802    
# Line 811  fontset_pattern_regexp (pattern) Line 811  fontset_pattern_regexp (pattern)
811        *p1++ = '^';        *p1++ = '^';
812        for (p0 = (char *) SDATA (pattern); *p0; p0++)        for (p0 = (char *) SDATA (pattern); *p0; p0++)
813          {          {
814            if (*p0 == '*')            if (*p0 == '*' && p0 > SDATA (pattern) && p0[-1] != '\\')
815              {              {
816                if (ndashes < 14)                if (ndashes < 14)
817                  *p1++ = '.';                  *p1++ = '.';

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26