diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-20 19:40:36 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-20 19:40:36 +0200 |
commit | f33a01e8c8db821b5c6457715f98aa8762d00167 (patch) | |
tree | 9a41c75660aac8e6dd6be8fa24e4b61fb05e0e23 /src/audio/oal/aldlist.cpp | |
parent | script revision (diff) | |
parent | Merge remote-tracking branch 'origin/master' into miami (diff) | |
download | re3-f33a01e8c8db821b5c6457715f98aa8762d00167.tar re3-f33a01e8c8db821b5c6457715f98aa8762d00167.tar.gz re3-f33a01e8c8db821b5c6457715f98aa8762d00167.tar.bz2 re3-f33a01e8c8db821b5c6457715f98aa8762d00167.tar.lz re3-f33a01e8c8db821b5c6457715f98aa8762d00167.tar.xz re3-f33a01e8c8db821b5c6457715f98aa8762d00167.tar.zst re3-f33a01e8c8db821b5c6457715f98aa8762d00167.zip |
Diffstat (limited to 'src/audio/oal/aldlist.cpp')
-rw-r--r-- | src/audio/oal/aldlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/oal/aldlist.cpp b/src/audio/oal/aldlist.cpp index 458b7c80..7401e036 100644 --- a/src/audio/oal/aldlist.cpp +++ b/src/audio/oal/aldlist.cpp @@ -73,7 +73,7 @@ ALDeviceList::ALDeviceList() if ((bNewName) && (actualDeviceName != NULL) && (strlen(actualDeviceName) > 0)) { memset(&ALDeviceInfo, 0, sizeof(ALDEVICEINFO)); ALDeviceInfo.bSelected = true; - ALDeviceInfo.strDeviceName.assign(actualDeviceName, strlen(actualDeviceName)); + ALDeviceInfo.strDeviceName = actualDeviceName; alcGetIntegerv(device, ALC_MAJOR_VERSION, sizeof(int), &ALDeviceInfo.iMajorVersion); alcGetIntegerv(device, ALC_MINOR_VERSION, sizeof(int), &ALDeviceInfo.iMinorVersion); |