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 // Count the number of lines
while (std::getline(inputStream, line)) { while (std::getline(inputStream, line)) {
inputCmd->slashtp++; inputCmd->totalmods++;
} }
} }

View file

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

View file

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