projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e6eec8
)
Checks in select_soundhw were never intended to accept abbreviations
author
malc
<av1474@comtv.ru>
Sun, 6 Sep 2009 02:49:03 +0000
(06:49 +0400)
committer
malc
<av1474@comtv.ru>
Sun, 6 Sep 2009 02:49:23 +0000
(06:49 +0400)
Signed-off-by: malc <av1474@comtv.ru>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index
6e014f1
..
098daaa
100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-4526,7
+4526,7
@@
static void select_soundhw (const char *optarg)
l = !e ? strlen (p) : (size_t) (e - p);
for (c = soundhw; c->name; ++c) {
- if (!strncmp (c->name, p, l)) {
+ if (!strncmp (c->name, p, l)
&& !c->name[l]
) {
c->enabled = 1;
break;
}