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
7d5ef246
Commit
7d5ef246
authored
Jun 20, 2016
by
Hisham
Browse files
Let's keep it simple then!
parent
0fa03322
Changes
1
Show whitespace changes
Inline
Side-by-side
Process.c
View file @
7d5ef246
...
...
@@ -194,7 +194,7 @@ void Process_setupColumnWidths() {
assert
(
digits
<
20
);
for
(
int
i
=
0
;
Process_pidColumns
[
i
].
label
;
i
++
)
{
assert
(
i
<
20
);
snprintf
(
Process_titleBuffer
[
i
],
digits
+
2
,
"%*s "
,
digits
,
Process_pidColumns
[
i
].
label
);
snprintf
(
Process_titleBuffer
[
i
],
2
0
,
"%*s "
,
digits
,
Process_pidColumns
[
i
].
label
);
Process_fields
[
Process_pidColumns
[
i
].
id
].
title
=
Process_titleBuffer
[
i
];
}
sprintf
(
Process_pidFormat
,
"%%%dd "
,
digits
);
...
...
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