Skip to content

Commit

Permalink
Apply stale lib highlighting for EXE too
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBE committed Jun 11, 2021
1 parent 9114cf6 commit de1d063
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Process.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,12 @@ void Process_writeField(const Process* this, RichString* str, ProcessField field
const char* procExe;
if (this->procExe) {
attr = CRT_colors[Process_isUserlandThread(this) ? PROCESS_THREAD_BASENAME : PROCESS_BASENAME];
if (this->procExeDeleted && this->settings->highlightDeletedExe)
attr = CRT_colors[FAILED_READ];
if (this->settings->highlightDeletedExe) {
if (this->procExeDeleted)
attr = CRT_colors[FAILED_READ];
else if (this->usesDeletedLib)
attr = CRT_colors[PROCESS_TAG];
}
procExe = this->procExe + this->procExeBasenameOffset;
} else {
attr = CRT_colors[PROCESS_SHADOW];
Expand Down

0 comments on commit de1d063

Please sign in to comment.