File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2108,7 +2108,7 @@ void PIDinspect(const std::vector<DWORD>& pids, const std::vector<std::string>&
21082108
21092109
21102110 if (virtualTerminalEnabled) {
2111- if (!( process == " " )) {
2111+ if (!process. empty ( )) {
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;
21142114 } else
@@ -2119,7 +2119,7 @@ void PIDinspect(const std::vector<DWORD>& pids, const std::vector<std::string>&
21192119 std::cout << " \033 [34mProcess:\033 [0m " << procName << " \033 [90m (pid " << std::to_string (pid) << " )\033 [0m" << std::endl;
21202120 }
21212121 } else {
2122- if (!process == " " ) {
2122+ if (!process. empty () ) {
21232123 std::cout << " Target: " << procName << std::endl;
21242124 std::cout << " Process: " << process << " (pid " << std::to_string (pid) << " )" << std::endl;
21252125 } else {
@@ -2131,6 +2131,7 @@ void PIDinspect(const std::vector<DWORD>& pids, const std::vector<std::string>&
21312131 }
21322132
21332133 }
2134+ }
21342135
21352136
21362137
You can’t perform that action at this time.
0 commit comments