/[freetype]/freetype2/src/sfnt/ttcmap.c
ViewVC logotype

Diff of /freetype2/src/sfnt/ttcmap.c

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

revision 1.58 by olvaffe, Tue Nov 29 11:32:53 2005 UTC revision 1.59 by olvaffe, Wed Nov 30 02:39:10 2005 UTC
# Line 1044  Line 1044 
1044      p = cmap->data + 6;      p = cmap->data + 6;
1045      num_segs2 = FT_PAD_FLOOR( TT_PEEK_USHORT( p ), 2 );      num_segs2 = FT_PAD_FLOOR( TT_PEEK_USHORT( p ), 2 );
1046    
1047        if ( !num_segs2 )
1048          return 0;
1049    
1050      num_segs = num_segs2 >> 1;      num_segs = num_segs2 >> 1;
1051    
1052      if ( !num_segs )      /* make compiler happy */
1053        return 0;      mid = num_segs;
1054        end = 0xFFFFU;
1055    
1056      if ( next )      if ( next )
1057        charcode++;        charcode++;
# Line 2053  Line 2057 
2057      if ( !num_groups )      if ( !num_groups )
2058        return 0;        return 0;
2059    
2060        /* make compiler happy */
2061        mid = num_groups;
2062        end = 0xFFFFFFFFUL;
2063    
2064      if ( next )      if ( next )
2065        char_code++;        char_code++;
2066    

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

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