notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e1d02
)
bugfix
author
notaz
<notasas@gmail.com>
Wed, 4 Mar 2009 21:46:23 +0000
(21:46 +0000)
committer
notaz
<notasas@gmail.com>
Wed, 4 Mar 2009 21:46:23 +0000
(21:46 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@642
be3aeb3a
-fb24-0410-a615-
afba39da0efa
platform/common/input.c
patch
|
blob
|
blame
|
history
diff --git
a/platform/common/input.c
b/platform/common/input.c
index
0fe8dc1
..
1dae2bd
100644
(file)
--- a/
platform/common/input.c
+++ b/
platform/common/input.c
@@
-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;