Re: [hatari-devel] Re: [hatari-users] SDL GUI keyboard shortcuts

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On keskiviikko 13 elokuu 2014, Nicolas Pomarède wrote:
> Le 12/08/2014 22:47, Eero Tamminen a écrit :
> > On tiistai 12 elokuu 2014, Eero Tamminen wrote:
> >> Matching should IMHO be case insensitive, so the list
> >> sorting should be made case insensitive too.
> > 
> > Commited case-insensitive list sorting, and made it also
> > to sort folders first, like all other file selectors do.
> 
> Note that when compiling with mingw, d_type member of the structure
> dirent doesn't exist in that case.
> 
> So there should be a define set by cmake to check if d_type member
> exists or not and maybe default to 'alphasort' in that case.

I added code necessary for it to work without d_type field
(use stat() in that case, or if file is symlink or
file system didn't fill d_type field).  [1]

Could you add the CMake stuff necessary for mingw?


	- Eero

[1] I accidentally commited also GEMDOS error code update
in same commit (working but not yet fully tested).
I'll look into that later.



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