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

Diff of /emacs/src/macterm.c

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

revision 1.128 by mituharu, Tue Sep 6 08:07:32 2005 UTC revision 1.129 by mituharu, Thu Sep 22 07:53:29 2005 UTC
# Line 6277  static INLINE int Line 6277  static INLINE int
6277  xlfdpat_exact_p (pat)  xlfdpat_exact_p (pat)
6278       struct xlfdpat *pat;       struct xlfdpat *pat;
6279  {  {
6280    return (pat)->blocks == NULL;    return pat->blocks == NULL;
6281  }  }
6282    
6283  /* Return the first string in STRING + 0, ..., STRING + START_MAX such  /* Return the first string in STRING + 0, ..., STRING + START_MAX such
# Line 6295  xlfdpat_block_match_1 (blk, string, star Line 6295  xlfdpat_block_match_1 (blk, string, star
6295    
6296    xassert (blk->len > 0);    xassert (blk->len > 0);
6297    xassert (start_max + blk->len <= strlen (string));    xassert (start_max + blk->len <= strlen (string));
6298    xassert (blk->pattern[blk->len - 1] != '?');    xassert (blk->last_char != '?');
6299    
6300    /* See the comments in the function `boyer_moore' (search.c) for the    /* See the comments in the function `boyer_moore' (search.c) for the
6301       use of `infinity'.  */       use of `infinity'.  */
# Line 6683  init_font_name_table () Line 6683  init_font_name_table ()
6683          {          {
6684            Lisp_Object rest = XCDR (XCDR (text_encoding_info));            Lisp_Object rest = XCDR (XCDR (text_encoding_info));
6685    
6686            for (; !NILP (rest); rest = XCDR (rest))            if (size > 0 || style == normal)
6687              {              for (; !NILP (rest); rest = XCDR (rest))
6688                char *cs = SDATA (XCAR (rest));                {
6689                    char *cs = SDATA (XCAR (rest));
6690                if (size == 0)  
6691                  {                  if (size == 0)
6692                    add_font_name_table_entry (mac_to_x_fontname (name, size,                    {
6693                                                                  style, cs));                      add_font_name_table_entry (mac_to_x_fontname (name, size,
6694                    add_font_name_table_entry (mac_to_x_fontname (name, size,                                                                    style, cs));
6695                                                                  italic, cs));                      add_font_name_table_entry (mac_to_x_fontname (name, size,
6696                    add_font_name_table_entry (mac_to_x_fontname (name, size,                                                                    italic, cs));
6697                                                                  bold, cs));                      add_font_name_table_entry (mac_to_x_fontname (name, size,
6698                    add_font_name_table_entry (mac_to_x_fontname (name, size,                                                                    bold, cs));
6699                                                                  italic | bold,                      add_font_name_table_entry (mac_to_x_fontname (name, size,
6700                                                                  cs));                                                                    italic | bold,
6701                  }                                                                    cs));
6702                else                    }
6703                  {                  else
6704                    add_font_name_table_entry (mac_to_x_fontname (name, size,                    {
6705                                                                  style, cs));                      add_font_name_table_entry (mac_to_x_fontname (name, size,
6706                  }                                                                    style, cs));
6707              }                    }
6708                  }
6709          }          }
6710      }      }
6711    

Legend:
Removed from v.1.128  
changed lines
  Added in v.1.129

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