Re: [AD] load_datafile_object with properties

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


> When applying the attached patch to your patch before patching, my
> program works :) 

Hey, I'm lost with all these patches ;-)

@@ -154,7 +154,7 @@
 - while (d-- > 0)
 -     pack_getc(f);
 +   ASSERT(list);
-+   ASSERT(property);
++   ASSERT(prop);
 +
 +   /* find the length of the list */
 +   if (*list) {

I found this one...

@@ -412,7 +412,7 @@
 +     }
 +
 +     /* attach the property list to the object */
-+     dat[c].prop = list;
++     dat->prop = list;
 +     list = NULL;
 +
 +     break;

... but not that one! Thanks for doing it for me. Damn pasto :-( 

Patch applied with your modifications.

--
Eric Botcazou



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