mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
bugfix
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@642 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
73a853695e
commit
f3b6f1336a
1 changed files with 3 additions and 0 deletions
|
@ -426,6 +426,9 @@ const char *in_get_dev_name(int dev_id, int must_be_active, int skip_pfix)
|
|||
return NULL;
|
||||
|
||||
name = in_devices[dev_id].name;
|
||||
if (name == NULL)
|
||||
return NULL;
|
||||
|
||||
tmp = strchr(name, ':');
|
||||
if (tmp != NULL)
|
||||
name = tmp + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue