Fix sheet minimum width on the status screen

This commit is contained in:
Alex Voinea 2019-12-18 08:52:25 +03:00
parent 955c88cf68
commit f071aec747
No known key found for this signature in database
GPG Key ID: F5034E7CFCF2F973

View File

@ -630,7 +630,7 @@ void lcdui_print_percent_done(void)
{
eeprom_read_block(sheet, EEPROM_Sheets_base->s[eeprom_read_byte(&(EEPROM_Sheets_base->active_sheet))].name, 7);
sheet[7] = '\0';
lcd_printf_P(PSTR("%s"),sheet);
lcd_printf_P(PSTR("%-7s"),sheet);
}
else
{