[AD] digmid fix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The changes how filenames with the # character are handled broke the
digmid patch loading. I applied the attached patch to fix it.

-- 
Elias Pschernig
Index: src/digmid.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/digmid.c,v
retrieving revision 1.15
diff -u -p -r1.15 digmid.c
--- src/digmid.c	4 Jul 2004 22:04:20 -0000	1.15
+++ src/digmid.c	2 Sep 2004 23:06:19 -0000
@@ -466,7 +466,7 @@ int _digmid_find_patches(char *dir, int 
       return FALSE;
 
    if (dir && file) {
-      s = get_filename(filename);
+      s = ustrrchr (filename, '#') + 1;
       ustrzcpy(file, file_size, s);
 
       usetc(s, 0);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/