/[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.77.4.23 by miles, Wed Oct 27 05:42:01 2004 UTC revision 1.77.4.24 by miles, Thu Nov 4 08:55:31 2004 UTC
# Line 1076  fontset_pattern_regexp (pattern) Line 1076  fontset_pattern_regexp (pattern)
1076          {          {
1077            if (*p0 == '-')            if (*p0 == '-')
1078              ndashes++;              ndashes++;
1079            else if (*p0 == '*')            else if (*p0 == '*' && p0 > SDATA (pattern) && p0[-1] != '\\')
1080              nstars++;              nstars++;
1081          }          }
1082    
# Line 1091  fontset_pattern_regexp (pattern) Line 1091  fontset_pattern_regexp (pattern)
1091        *p1++ = '^';        *p1++ = '^';
1092        for (p0 = (char *) SDATA (pattern); *p0; p0++)        for (p0 = (char *) SDATA (pattern); *p0; p0++)
1093          {          {
1094            if (*p0 == '*')            if (*p0 == '*' && p0 > SDATA (pattern) && p0[-1] != '\\')
1095              {              {
1096                if (ndashes < 14)                if (ndashes < 14)
1097                  *p1++ = '.';                  *p1++ = '.';

Legend:
Removed from v.1.77.4.23  
changed lines
  Added in v.1.77.4.24

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