aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/winmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/winmm.c')
-rw-r--r--Alc/winmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c
index 6d43c734..747a250b 100644
--- a/Alc/winmm.c
+++ b/Alc/winmm.c
@@ -69,7 +69,7 @@ static void ProbeDevices(void)
CaptureDeviceList[i] = NULL;
if(waveInGetDevCaps(i, &WaveInCaps, sizeof(WAVEINCAPS)) == MMSYSERR_NOERROR)
{
- char name[128];
+ char name[1024];
snprintf(name, sizeof(name), "%s via WaveIn", WaveInCaps.szPname);
CaptureDeviceList[i] = strdup(name);
}