mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
Drop newline at end of if branch
This commit is contained in:
parent
ff4ee2eafc
commit
635d4cfe60
@ -27,8 +27,7 @@ static void DateMeter_updateValues(Meter* this, char* buffer, size_t size) {
|
||||
int year = lt->tm_year + 1900;
|
||||
if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) {
|
||||
this->total = 366;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
this->total = 365;
|
||||
}
|
||||
strftime(buffer, size, "%F", lt);
|
||||
|
@ -26,8 +26,7 @@ static void DateTimeMeter_updateValues(Meter* this, char* buffer, size_t size) {
|
||||
int year = lt->tm_year + 1900;
|
||||
if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) {
|
||||
this->total = 366;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
this->total = 365;
|
||||
}
|
||||
this->values[0] = lt->tm_yday;
|
||||
|
Loading…
Reference in New Issue
Block a user