mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
backslash/slash fixes, again
This commit is contained in:
@@ -26,7 +26,6 @@ openal_buffer::openal_buffer( std::string const &Filename ) :
|
||||
si.format = 0;
|
||||
|
||||
std::string file = Filename;
|
||||
std::replace(file.begin(), file.end(), '\\', '/');
|
||||
|
||||
WriteLog("sound: loading file: " + file);
|
||||
|
||||
@@ -105,10 +104,6 @@ buffer_manager::create( std::string const &Filename ) {
|
||||
auto filename { ToLower( Filename ) };
|
||||
|
||||
erase_extension( filename );
|
||||
// convert slashes
|
||||
std::replace(
|
||||
std::begin( filename ), std::end( filename ),
|
||||
'\\', '/' );
|
||||
|
||||
audio::buffer_handle lookup { null_handle };
|
||||
std::string filelookup;
|
||||
|
||||
Reference in New Issue
Block a user