mirror of https://github.com/xzeldon/htop.git
Add a trailing newline in .htoprc
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420856 (sheesh, the things people get worked up about :) )
This commit is contained in:
parent
5a91824e46
commit
e3acb5e07a
|
@ -221,6 +221,7 @@ bool Settings_write(Settings* this) {
|
||||||
fprintf(fd, "right_meter_modes=");
|
fprintf(fd, "right_meter_modes=");
|
||||||
for (int i = 0; i < Header_size(this->header, RIGHT_HEADER); i++)
|
for (int i = 0; i < Header_size(this->header, RIGHT_HEADER); i++)
|
||||||
fprintf(fd, "%d ", Header_readMeterMode(this->header, i, RIGHT_HEADER));
|
fprintf(fd, "%d ", Header_readMeterMode(this->header, i, RIGHT_HEADER));
|
||||||
|
fprintf(fd, "\n");
|
||||||
fclose(fd);
|
fclose(fd);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue