diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-06-10 23:23:03 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-06-11 09:04:23 +0200 |
commit | de1d06300db39a86357994edd185f35420c2362e (patch) | |
tree | 7f6f347a86d9c77389b74c6338baafda992b5797 /Process.c | |
parent | 9114cf6ea3771c55cdaaa3af8583feaf0514d956 (diff) |
Apply stale lib highlighting for EXE too
Diffstat (limited to 'Process.c')
-rw-r--r-- | Process.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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]; |