1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-09-28 00:25:35 +02:00

small fix

This commit is contained in:
Jfreegman 2014-12-07 21:48:29 -05:00
parent 82aa64e8f7
commit 424189cad9
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -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);