Commit da604d35 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

be more precise in the comment

parent 0a81172f
...@@ -151,9 +151,8 @@ bool Settings_write(Settings* this) { ...@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment