From a6d780574de081865ec673cb5c930a2c7796f43a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 12 Nov 2018 22:26:12 -0800 Subject: Make the enumerated HRTF entry name a char* Would ideally be a std::string with the HRTF name itself, but they're still seen in C code. --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index fc68236d..4e2402ca 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -4677,7 +4677,7 @@ ALC_API const ALCchar* ALC_APIENTRY alcGetStringiSOFT(ALCdevice *device, ALCenum { case ALC_HRTF_SPECIFIER_SOFT: if(index >= 0 && (size_t)index < VECTOR_SIZE(device->HrtfList)) - str = alstr_get_cstr(VECTOR_ELEM(device->HrtfList, index).name); + str = VECTOR_ELEM(device->HrtfList, index).name; else alcSetError(device, ALC_INVALID_VALUE); break; -- cgit v1.2.3