diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-01-28 04:09:06 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-01-30 12:59:11 -0200 |
commit | 5beff29a3df7097cc4d256b27888ee730b1a45d0 (patch) | |
tree | cdc2d5f30e82db0f7415c2998bbb75cd5beba78f /linux | |
parent | d1219abc558141a96ea25aa1db1c2dd3171c5132 (diff) |
Add support for multiple screens, switchable using Tab
Diffstat (limited to 'linux')
-rw-r--r-- | linux/LinuxProcess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c index 72408cfa..d765f2d3 100644 --- a/linux/LinuxProcess.c +++ b/linux/LinuxProcess.c @@ -404,7 +404,7 @@ void LinuxProcess_writeField(Process* this, RichString* str, ProcessField field) long LinuxProcess_compare(const void* v1, const void* v2) { LinuxProcess *p1, *p2; Settings *settings = ((Process*)v1)->settings; - if (settings->direction == 1) { + if (settings->ss->direction == 1) { p1 = (LinuxProcess*)v1; p2 = (LinuxProcess*)v2; } else { @@ -412,7 +412,7 @@ long LinuxProcess_compare(const void* v1, const void* v2) { p1 = (LinuxProcess*)v2; } long long diff; - switch ((int)settings->sortKey) { + switch ((int)settings->ss->sortKey) { case M_DRS: return (p2->m_drs - p1->m_drs); case M_DT: |