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
b1aea7f7
Commit
b1aea7f7
authored
Jun 16, 2015
by
Hisham Muhammad
Browse files
Merge pull request #207 from eworm-de/settings
write header length (number of columns) back to configuration
parents
5f604860
a804f1f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Header.c
View file @
b1aea7f7
...
...
@@ -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