Skip to content

Commit

Permalink
Really right-align batt/clock in menu header
Browse files Browse the repository at this point in the history
  • Loading branch information
myfluxi committed Apr 2, 2012
1 parent 260a4ac commit cca0cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static void draw_virtualkeys_locked()
static void draw_text_line(int row, const char* t, int align) {
int col = 0;
if (t[0] != '\0') {
int length = strnlen(t, MENU_MAX_COLS) * CHAR_WIDTH;
int length = strnlen(t, MENU_MAX_COLS) * BOARD_RECOVERY_CHAR_WIDTH;
switch(align)
{
case LEFT_ALIGN:
Expand Down

0 comments on commit cca0cff

Please sign in to comment.