mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 04:04:35 +03:00
Move procCmdlineBasenameOffset as cmdlineBasenameStart to global Process structure
This commit is contained in:
@ -391,7 +391,7 @@ void LinuxProcess_makeCommandStr(Process* this) {
|
||||
char *strStart = mc->str;
|
||||
char *str = strStart;
|
||||
|
||||
int cmdlineBasenameOffset = lp->procCmdlineBasenameOffset;
|
||||
int cmdlineBasenameOffset = this->cmdlineBasenameStart;
|
||||
int cmdlineBasenameEnd = this->cmdlineBasenameOffset;
|
||||
|
||||
if (!cmdline) {
|
||||
|
Reference in New Issue
Block a user