mirror of https://github.com/xzeldon/htop.git
be more precise in the comment
This commit is contained in:
parent
0a81172f62
commit
da604d355a
|
@ -151,9 +151,8 @@ bool Settings_write(Settings* this) {
|
||||||
if (fd == NULL) {
|
if (fd == NULL) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
fprintf(fd, "# Beware! This file is rewritten every time htop exits.\n");
|
fprintf(fd, "# Beware! This file is rewritten by htop when settings are changed in the interface.\n");
|
||||||
fprintf(fd, "# The parser is also very primitive, and not human-friendly.\n");
|
fprintf(fd, "# The parser is also very primitive, and not human-friendly.\n");
|
||||||
fprintf(fd, "# (I know, it's in the todo list).\n");
|
|
||||||
fprintf(fd, "fields=");
|
fprintf(fd, "fields=");
|
||||||
for (int i = 0; this->pl->fields[i]; i++) {
|
for (int i = 0; this->pl->fields[i]; i++) {
|
||||||
// This "-1" is for compatibility with the older enum format.
|
// This "-1" is for compatibility with the older enum format.
|
||||||
|
|
Loading…
Reference in New Issue