forked from enlightenment/enlightenment
mixer: name can be null w/OpenBSD.
Without further investigation checking for NULL here fixes an issue with OpenBSD, which is a bit "special".
This commit is contained in:
parent
b3705261ea
commit
b59c07ea33
|
@ -55,6 +55,8 @@ _sink_icon_find(const char *name)
|
|||
int i;
|
||||
size_t len;
|
||||
|
||||
if (!name) return NULL;
|
||||
|
||||
file = getenv("EMIX_SINK_ICONS");
|
||||
if (!file) return NULL;
|
||||
f = fopen(file, "r");
|
||||
|
|
Loading…
Reference in New Issue