allow - in sample names

This commit is contained in:
Lennart Poettering 2008-10-03 19:49:15 +02:00
parent 28af9944fe
commit c0815deb4a
2 changed files with 20 additions and 12 deletions

View file

@ -51,6 +51,7 @@ static pa_bool_t is_valid_char(char c) {
(c >= 'A' && c <= 'Z') ||
(c >= '0' && c <= '9') ||
c == '.' ||
c == '-' ||
c == '_';
}