mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 11:23:26 +01:00
small fix
This commit is contained in:
parent
82aa64e8f7
commit
424189cad9
@ -757,7 +757,7 @@ static int group_audio_open_out_device(int groupnum)
|
||||
{
|
||||
char dname[MAX_STR_SIZE];
|
||||
get_primary_device_name(output, dname, sizeof(dname));
|
||||
dname[MAX_STR_SIZE] = '\0';
|
||||
dname[MAX_STR_SIZE - 1] = '\0';
|
||||
|
||||
groupchats[groupnum].audio.dvhandle = alcOpenDevice(dname);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user