struct: changed some names

This commit is contained in:
Kaley, Fischer 2024-10-23 02:58:21 +02:00
parent 0ed8a758af
commit 689127ffe9
3 changed files with 5 additions and 6 deletions

View file

@ -48,7 +48,7 @@ void Regex(cmd *inputCmd) {
// Count the number of lines
while (std::getline(inputStream, line)) {
inputCmd->slashtp++;
inputCmd->totalmods++;
}
}

View file

@ -19,9 +19,8 @@ std::string dir;
bool ab = false;
// slashing
int slashtp = 0;
std::string slash;
// total mods
int totalmods = 0;
// counter
std::string sucids;

View file

@ -83,7 +83,7 @@ void maincommand(cmd *inputCmd) {
}
// mod or collection?
std::string total = (inputCmd->ab == true) ? "Total: 1" : "Total: " + std::to_string(inputCmd->slashtp -1) + "\n";
std::string total = (inputCmd->ab == true) ? "Total: 1" : "Total: " + std::to_string(inputCmd->totalmods -1) + "\n";
std::string colm = (inputCmd->ab == true) ? R"(Mod)" : R"(Collection)";
// shows how much and what has downloaded
@ -98,7 +98,7 @@ void maincommand(cmd *inputCmd) {
std::string line;
while (std::getline(inputStream, line)) {
inputCmd->slashtp++;
inputCmd->totalmods++;
Modname(inputCmd, line);
filerestort(inputCmd);
}