summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2020-05-18 21:08:01 +0200
committerGitHub <noreply@github.com>2020-05-18 21:08:01 +0200
commit6bf79120dcd535dc6a63c4d0da858444facb0d8d (patch)
treee624bf958d6b6b4b4f03f35e1a379b03f55a5787
parentMerge pull request #559 from ShFil119/travis (diff)
downloadre3-6bf79120dcd535dc6a63c4d0da858444facb0d8d.tar
re3-6bf79120dcd535dc6a63c4d0da858444facb0d8d.tar.gz
re3-6bf79120dcd535dc6a63c4d0da858444facb0d8d.tar.bz2
re3-6bf79120dcd535dc6a63c4d0da858444facb0d8d.tar.lz
re3-6bf79120dcd535dc6a63c4d0da858444facb0d8d.tar.xz
re3-6bf79120dcd535dc6a63c4d0da858444facb0d8d.tar.zst
re3-6bf79120dcd535dc6a63c4d0da858444facb0d8d.zip
-rw-r--r--src/audio/oal/aldlist.cpp2
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);