Use caseless compare

This commit is contained in:
Simon Long 2024-10-24 18:31:11 +01:00
parent 1764d577ad
commit 20d909303e

View file

@ -245,7 +245,7 @@ get_db_entry_by_id_fuzzy(struct sfdo_desktop_db *db, const char *app_id)
int alen = strlen(app_id);
int dlen = strlen(desktop_id_base);
if (!strncmp(app_id, desktop_id, alen > dlen ? dlen : alen)) {
if (!strncasecmp(app_id, desktop_id, alen > dlen ? dlen : alen)) {
return entry;
}
}