mirror of
https://github.com/labwc/labwc.git
synced 2026-04-11 08:21:13 -04:00
Use caseless compare
This commit is contained in:
parent
1764d577ad
commit
20d909303e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue