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
a804f1f8
Commit
a804f1f8
authored
Jun 12, 2015
by
Christian Hesse
Browse files
write header length (number of columns) back to configuration
parent
abe165fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Header.c
View file @
a804f1f8
...
...
@@ -85,6 +85,7 @@ void Header_writeBackToSettings(const Header* this) {
colSettings
->
names
=
calloc
(
len
+
1
,
sizeof
(
char
*
));
colSettings
->
modes
=
calloc
(
len
,
sizeof
(
int
));
colSettings
->
len
=
len
;
for
(
int
i
=
0
;
i
<
len
;
i
++
)
{
Meter
*
meter
=
(
Meter
*
)
Vector_get
(
vec
,
i
);
...
...
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