Mercurial > hg > svcore
changeset 1361:49b43306778b 3.0-integration
Win32 fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Jan 2017 11:08:14 +0000 |
parents | 8eddb528ef0c |
children | 1bf38a4b91c4 |
files | data/fileio/CodedAudioFileReader.cpp plugin/plugins/SamplePlayer.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.cpp Tue Jan 10 11:06:19 2017 +0000 +++ b/data/fileio/CodedAudioFileReader.cpp Tue Jan 10 11:08:14 2017 +0000 @@ -200,7 +200,7 @@ #ifdef Q_OS_WIN m_cacheFileWritePtr = sf_wchar_open - ((LPCWSTR)m_cacheFileName.utf16(), SFM_WRITE, &m_fileInfo); + ((LPCWSTR)m_cacheFileName.utf16(), SFM_WRITE, &fileInfo); #else m_cacheFileWritePtr = sf_open (m_cacheFileName.toLocal8Bit(), SFM_WRITE, &fileInfo);
--- a/plugin/plugins/SamplePlayer.cpp Tue Jan 10 11:06:19 2017 +0000 +++ b/plugin/plugins/SamplePlayer.cpp Tue Jan 10 11:08:14 2017 +0000 @@ -401,7 +401,7 @@ info.format = 0; #ifdef Q_OS_WIN - file = sf_wchar_open((LPCWSTR)path.utf16(), SFM_READ, &m_fileInfo); + file = sf_wchar_open((LPCWSTR)path.utf16(), SFM_READ, &info); #else file = sf_open(path.toLocal8Bit().data(), SFM_READ, &info); #endif