diff options
author | shfil <filip.gawin@zoho.com> | 2020-05-18 21:19:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 21:19:42 +0200 |
commit | 3cda88ea2000a68e67910b77594aaf7cca87afe8 (patch) | |
tree | e624bf958d6b6b4b4f03f35e1a379b03f55a5787 /src | |
parent | Merge pull request #559 from ShFil119/travis (diff) | |
parent | Fix string assignment (aldlist.cpp) (diff) | |
download | re3-3cda88ea2000a68e67910b77594aaf7cca87afe8.tar re3-3cda88ea2000a68e67910b77594aaf7cca87afe8.tar.gz re3-3cda88ea2000a68e67910b77594aaf7cca87afe8.tar.bz2 re3-3cda88ea2000a68e67910b77594aaf7cca87afe8.tar.lz re3-3cda88ea2000a68e67910b77594aaf7cca87afe8.tar.xz re3-3cda88ea2000a68e67910b77594aaf7cca87afe8.tar.zst re3-3cda88ea2000a68e67910b77594aaf7cca87afe8.zip |
Diffstat (limited to 'src')
-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); |