summaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index da98113e..578b769e 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -40,7 +40,7 @@ typedef struct {
} wave_data;
-static ALCchar *waveDevice;
+static const ALCchar waveDevice[] = "Wave File Writer";
static ALuint WaveProc(ALvoid *ptr)
@@ -367,7 +367,7 @@ void alc_wave_init(BackendFuncs *func_list)
{
*func_list = wave_funcs;
- waveDevice = AppendDeviceList("Wave File Writer");
+ AppendDeviceList(waveDevice);
AppendAllDeviceList(waveDevice);
}