From de1d06300db39a86357994edd185f35420c2362e Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Thu, 10 Jun 2021 23:23:03 +0200 Subject: [PATCH] Apply stale lib highlighting for EXE too --- Process.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Process.c b/Process.c index 87869552..b93759bf 100644 --- a/Process.c +++ b/Process.c @@ -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];