Peter Hull

Results 164 comments of Peter Hull

I believe this is now fixed

I was glad to see this. I have added some comments, hopefully helpful On Wed, 20 Aug 2025 at 18:06, Marek Ratajczak ***@***.***> wrote: > Drag and drop for MacOS...

It seems to me that you don't need to track the memory allocated to file names at all. In the X version https://github.com/liballeg/allegro5/blob/efb3129bb54ecfbfbc59984645b948d86766f23d/src/x/xdnd.c#L307-L314 Just use the convenience function `al_cstr_dup` and...

> However, I wouldn't agree with creating endlessly new pointers and allocating memory for each new filename, especially when the drag and drop procedure is repeated multiple times, knowing that...