mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-15 06:29:29 +00:00
Renaming
This commit is contained in:
parent
412b53ddf1
commit
fe76a1a577
|
@ -48,9 +48,9 @@ RascsiImage::RascsiImage()
|
|||
depth = 0;
|
||||
}
|
||||
|
||||
bool RascsiImage::CheckDepth(const string& folder)
|
||||
bool RascsiImage::CheckDepth(const string& filename)
|
||||
{
|
||||
return count(folder.begin(), folder.end(), '/') <= depth;
|
||||
return count(filename.begin(), filename.end(), '/') <= depth;
|
||||
}
|
||||
|
||||
bool RascsiImage::CreateImageFolder(int fd, const string& filename)
|
||||
|
|
Loading…
Reference in New Issue
Block a user