Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
63e1417b
Commit
63e1417b
authored
7 years ago
by
Hisham Muhammad
Browse files
Options
Download
Email Patches
Plain Diff
Update some field accesses to new structures
parent
9b4bdfcb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Action.c
+1
-1
Action.c
htop.c
+1
-1
htop.c
linux/LinuxProcess.c
+1
-1
linux/LinuxProcess.c
with
3 additions
and
3 deletions
+3
-3
Action.c
View file @
63e1417b
...
...
@@ -280,7 +280,7 @@ static Htop_Reaction actionExpandOrCollapse(State* st) {
}
static
Htop_Reaction
actionCollapseIntoParent
(
State
*
st
)
{
if
(
!
st
->
settings
->
treeView
)
{
if
(
!
st
->
settings
->
ss
->
treeView
)
{
return
HTOP_OK
;
}
bool
changed
=
collapseIntoParent
(
st
->
panel
);
...
...
This diff is collapsed.
Click to expand it.
htop.c
View file @
63e1417b
...
...
@@ -205,7 +205,7 @@ int main(int argc, char** argv) {
if
(
!
flags
.
useColors
)
settings
->
colorScheme
=
COLORSCHEME_MONOCHROME
;
if
(
flags
.
treeView
)
settings
->
treeView
=
true
;
settings
->
screens
[
0
]
->
treeView
=
true
;
CRT_init
(
settings
->
delay
,
settings
->
colorScheme
);
...
...
This diff is collapsed.
Click to expand it.
linux/LinuxProcess.c
View file @
63e1417b
...
...
@@ -186,7 +186,7 @@ typedef struct LinuxProcess_ {
} LinuxProcess;
#ifndef Process_isKernelThread
#define Process_isKernelThread(_process) ((LinuxProcess*)(_process)->isKernelThread)
#define Process_isKernelThread(_process) ((
(
LinuxProcess*)(_process)
)
->isKernelThread)
#endif
#ifndef Process_isUserlandThread
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment