projects
/
profile
/
ivi
/
pulseaudio-module-murphy-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b432b
)
scripting: more fixing assertion on unknown stream class
author
Jaska Uimonen
<jaska.uimonen@helsinki.fi>
Tue, 11 Dec 2012 22:15:18 +0000
(
00:15
+0200)
committer
Jaska Uimonen
<jaska.uimonen@helsinki.fi>
Thu, 13 Dec 2012 21:16:34 +0000
(23:16 +0200)
murphy/scripting.c
patch
|
blob
|
history
diff --git
a/murphy/scripting.c
b/murphy/scripting.c
index
6b569a8
..
a782a91
100644
(file)
--- a/
murphy/scripting.c
+++ b/
murphy/scripting.c
@@
-1235,8
+1235,8
@@
static bool calculate_bridge(lua_State *L, void *data, const char *signature,
class = args[1].integer;
- pa_assert(class >= mir_application_class_begin &&
-
class < mir_application_class_end
);
+ pa_assert(
!class || (
class >= mir_application_class_begin &&
+
class < mir_application_class_end)
);
if (!(node = ns->node))
success = false;