Skip to content

Commit

Permalink
Expand comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alemart authored and SiegeLord committed Aug 11, 2024
1 parent a605aaa commit f38ca9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/ljoynu.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ static void ljoy_scan(bool configure)
}
char const *path = al_get_fs_entry_name(dev);
/* In the second pass in /dev/input we don't filter anymore.
In the first pass, strlen(path) > strlen(suffix). */
In the first pass, in /dev/input/by-path, strlen(path) > strlen(suffix). */
if (t == 1 || strcmp(suffix, path + strlen(path) - strlen(suffix)) == 0) {
found = true;
al_ustr_assign_cstr(device_name, path);
Expand Down

0 comments on commit f38ca9f

Please sign in to comment.