Skip to content

Commit 9413908

Browse files
fix:
1 parent 6bded0f commit 9413908

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,8 +2111,8 @@ void PIDinspect(const std::vector<DWORD>& pids, const std::vector<std::string>&
21112111
if (!(process == "")) {
21122112
std::cout << "\033[34mTarget:\033[0m " << procName << "\033[0m" << std::endl;
21132113
std::cout << "\033[34mProcess:\033[0m " << process << "\033[90m (pid " << std::to_string(pid) << ")\033[0m" << std::endl;
2114-
} else {
2115-
if (procName == ""){
2114+
} else
2115+
if (procName == "") {
21162116
std::cout << "\033[34mTarget:\033[0m N/A\n\033[34mProcess:\033[0m N/A\n";
21172117
} else {
21182118
std::cout << "\033[34mTarget:\033[0m " << procName << "\033[0m" << std::endl;
@@ -2129,7 +2129,7 @@ void PIDinspect(const std::vector<DWORD>& pids, const std::vector<std::string>&
21292129
std::cout << "Target: " << procName << std::endl;
21302130
std::cout << "Process: " << procName << " (pid " << std::to_string(pid) << ")" << std::endl;
21312131
}
2132-
}
2132+
21332133
}
21342134

21352135

0 commit comments

Comments
 (0)