aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/dsound.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-05-31 19:04:41 -0700
committerChris Robinson <[email protected]>2010-05-31 19:04:41 -0700
commite98f1205e547422764ef2bdce2c47ac54998f6d6 (patch)
tree3a07c45d3be847a6bed54a9b8d402c2c5738ae51 /Alc/dsound.c
parent2205f91e5f602f33ee231e7b6e2a210241b9da13 (diff)
Increase the temp buffer sizes to construct device names with
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r--Alc/dsound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c
index f1229fdd..e4f11f75 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -115,7 +115,7 @@ static BOOL CALLBACK DSoundEnumDevices(LPGUID guid, LPCSTR desc, LPCSTR drvname,
if(guid)
{
- char str[128];
+ char str[1024];
void *temp;
temp = realloc(DeviceList, sizeof(DevMap) * (NumDevices+1));