# HG changeset patch # User Matti Hamalainen # Date 1675990157 -7200 # Node ID 600bd0c3dd83765c54cc3a463599db55df9c769c # Parent b095a35a0848fe7f21d7e065f9fc132862b2db69 Update to match changes in th-libs API. Also use case-insensitive filename matching for Windows/DOS, case-sensitive for *NIX. diff -r b095a35a0848 -r 600bd0c3dd83 sidinfo.c --- a/sidinfo.c Tue Jan 03 00:06:07 2023 +0200 +++ b/sidinfo.c Fri Feb 10 02:49:17 2023 +0200 @@ -1117,7 +1117,13 @@ closedir(dirh); } else - if (pattern == NULL || th_strmatch(filename, pattern)) + if (pattern == NULL || +#ifdef TH_FS_CASE_INSENSITIVE + th_strcasematch(filename, pattern, true) +#else + th_strmatch(filename, pattern, true) +#endif + ) { siHandleSIDFile(npath); }