summaryrefslogtreecommitdiff
path: root/graphics/urt/patches/patch-af
blob: 45e93243ce5c2842e211dc91fd11d7cbaa531aeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.2 1999/02/10 15:10:47 frueauf Exp $

--- cnv/xbmtorle.c~	Thu Apr 30 07:01:54 1992
+++ cnv/xbmtorle.c	Wed Nov 25 23:56:38 1998
@@ -206,7 +206,7 @@
 
 	if ( sscanf( line, "#define %s %d", name_and_type, &v ) == 2 )
 	{
-	    if ( ! (t = rindex( name_and_type, '_' )) )
+	    if ( ! (t = rle_rindex( name_and_type, '_' )) )
 		t = name_and_type;
 	    else
 		t++;