comparison TOOLS/subfont-c/subfont.c @ 7040:94a56b859b04

10l patch by Jindrich Makovicka <makovick at KMLinux dot fjfi dot cvut dot cz>
author michael
date Sun, 18 Aug 2002 08:21:24 +0000
parents 660a8439c679
children fb88ccbc5ccc
comparison
equal deleted inserted replaced
7039:2eae7ac0fa8b 7040:94a56b859b04
627 627
628 #if 1 628 #if 1
629 unsigned char *s = buffer; 629 unsigned char *s = buffer;
630 unsigned short *t = tmp2+1; 630 unsigned short *t = tmp2+1;
631 for(y=0; y<height; y++){ 631 for(y=0; y<height; y++){
632 memset(t, 0, (width+1)*sizeof(short)); 632 memset(t-1, 0, (width+1)*sizeof(short));
633 // for(x=0; x<width+1; x++) 633 // for(x=0; x<width+1; x++)
634 // t[x]= 128; 634 // t[x]= 128;
635 635
636 for(x=0; x<r; x++){ 636 for(x=0; x<r; x++){
637 const int src= s[x]; 637 const int src= s[x];