blob: 27817212f9abcf6cfb88b54e3e824d5c59f4fecf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ai,v 1.2 1999/02/10 15:10:47 frueauf Exp $
--- tools/rlehdr.c~ Thu Apr 30 07:12:10 1992
+++ tools/rlehdr.c Wed Nov 25 23:58:39 1998
@@ -287,7 +287,7 @@
for ( ; ncomment > 0; ncomment--, comment_names++ )
if (the_comment = rle_getcom( *comment_names, the_hdr ))
{
- if ( (cp = index( the_comment, '\n' )) )
+ if ( (cp = rle_index( the_comment, '\n' )) )
printf( ", %s=%.*s", *comment_names,
cp - the_comment - 1, the_comment );
else
|