mirror of
https://github.com/akuker/RASCSI.git
synced 2025-03-07 23:30:56 +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…
x
Reference in New Issue
Block a user