Modify src/main.c

Signed-off-by: 0xf8 <0xf8.dev@proton.me>
This commit is contained in:
0xf8 2023-02-25 12:06:53 -05:00
parent fcb6abb194
commit aa4872c215
Signed by: 0xf8
GPG Key ID: 446580D758689584

View File

@ -116,7 +116,6 @@ int main(int argc, char **argv) {
clear();
// TODO: add framelimiting
while (true) {
time_t *t = (time_t *)malloc(sizeof(time_t) + 1);
time(t);
@ -192,7 +191,7 @@ void drawbignumber(struct bignumber_t *bn, int sec, int startx, int starty) {
if (partOfMimick) attron(A_BOLD);
else attron(COLOR_PAIR(1));
if (currentSec) attron(A_REVERSE),attron(A_BOLD),attron(COLOR_PAIR(2));
if (currentSec) attron(A_REVERSE),attron(COLOR_PAIR(2));
addstr(padded_num->s);