From fe76a1a577929f4f5b0517f859b58a611811b520 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Mon, 20 Dec 2021 19:56:36 +0100 Subject: [PATCH] Renaming --- src/raspberrypi/rascsi_image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/raspberrypi/rascsi_image.cpp b/src/raspberrypi/rascsi_image.cpp index 068af5c4..e39472a0 100644 --- a/src/raspberrypi/rascsi_image.cpp +++ b/src/raspberrypi/rascsi_image.cpp @@ -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)