mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
fixed #916
This commit is contained in:
parent
6d71817ddc
commit
6cc3361427
@ -1860,7 +1860,7 @@ string VocData::checkFilenamePathsep( const string filename, bool add_trailing_s
|
||||
pos = filename_new.find("\\");
|
||||
while (pos != filename_new.npos)
|
||||
{
|
||||
filename_new.replace(pos,2,"/");
|
||||
filename_new.replace(pos,1,"/");
|
||||
pos = filename_new.find("\\", pos);
|
||||
}
|
||||
if (add_trailing_slash)
|
||||
|
Loading…
Reference in New Issue
Block a user