Re: [AD] digmid fix

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


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

Does the _digmid_find_patches function handle regular (non-dat) patchsets too? If so, you may want to change it to:

      s = ustrrchr (filename, '#');
      if(s == NULL)
         s = get_filename(filename);
      else
         s += ustrlen("#"); // You can't assume 1 byte per character

- Kitty Cat




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