Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/TOOLS/subfont-c/subfont.c Sun Aug 18 01:07:37 2002 +0000 +++ b/TOOLS/subfont-c/subfont.c Sun Aug 18 08:21:24 2002 +0000 @@ -629,7 +629,7 @@ unsigned char *s = buffer; unsigned short *t = tmp2+1; for(y=0; y<height; y++){ - memset(t, 0, (width+1)*sizeof(short)); + memset(t-1, 0, (width+1)*sizeof(short)); // for(x=0; x<width+1; x++) // t[x]= 128;