mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
path check
This commit is contained in:
@@ -255,6 +255,7 @@ void RemovableDriveManager::eject_drive(const std::string &path)
|
|||||||
if(correct_path[i]==' ')
|
if(correct_path[i]==' ')
|
||||||
{
|
{
|
||||||
correct_path = correct_path.insert(i,"\\");
|
correct_path = correct_path.insert(i,"\\");
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::cout<<"Ejecting "<<(*it).name<<" from "<< (*it).path<<"\n";
|
std::cout<<"Ejecting "<<(*it).name<<" from "<< (*it).path<<"\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user