print more version info during init

also fixed parsing the audio device string
This commit is contained in:
ac-stef
2014-07-26 11:19:36 +02:00
parent ced0baf67a
commit 3606a4200c
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ void audiomanager::initsound()
copystring(d, "Audio devices: ");
// null separated device string
for(const ALchar *c = devices; c[strlen(c)+1]; c += strlen(c)+1)
for(const ALchar *c = devices; *c; c += strlen(c)+1)
{
if(c!=devices) concatstring(d, ", ");
concatstring(d, c);