diff --git a/src/misc_tools.c b/src/misc_tools.c index a02260e..0128ac4 100644 --- a/src/misc_tools.c +++ b/src/misc_tools.c @@ -70,7 +70,7 @@ void print_time(WINDOW *window) struct tm *timeinfo = get_time(); wattron(window, COLOR_PAIR(BLUE)); - wprintw(window, "[%2d:%02d:%02d] ", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec); + wprintw(window, "[%d:%02d:%02d] ", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec); wattroff(window,COLOR_PAIR(BLUE)); }