[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Thu, 2004-09-02 at 20:19 -0700, Chris wrote:
> 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
>
No idea. I always thought, DIGMID can only use the format as output by
pat2dat, which is a datafile containing a "default.cfg" object. So it
would always be datafile#default.cfg. If it supports something else, it
should be changed - anyone knows about this?
And yeah, the +1 is wrong.
--
Elias Pschernig