legacy: fix style

pull/393/head
Pavol Rusnak 5 years ago
parent eaa85ddd6e
commit 6d861a5d05
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -451,14 +451,16 @@ void next_word(void) {
if (word_pos == 0) {
const char *const *wl = mnemonic_wordlist();
strlcpy(fake_word, wl[random_uniform(2048)], sizeof(fake_word));
oledDrawStringCenter(OLED_WIDTH / 2, 24, fake_word, FONT_FIXED | FONT_DOUBLE);
oledDrawStringCenter(OLED_WIDTH / 2, 24, fake_word,
FONT_FIXED | FONT_DOUBLE);
} else {
fake_word[0] = 0;
char desc[] = "the ##th word";
format_number(desc + 4, word_pos);
oledDrawStringCenter(OLED_WIDTH / 2, 24, desc, FONT_FIXED | FONT_DOUBLE);
}
oledDrawStringCenter(OLED_WIDTH / 2, 48, _("on your computer"), FONT_STANDARD);
oledDrawStringCenter(OLED_WIDTH / 2, 48, _("on your computer"),
FONT_STANDARD);
// 35 is the maximum pixels used for a pixel row ("the 21st word")
oledSCA(24 - 2, 24 + 15 + 2, 35);
oledInvert(0, 24 - 2, OLED_WIDTH - 1, 24 + 15 + 2);

@ -23,10 +23,10 @@
#include "fsm.h"
#include "gettext.h"
#include "layout2.h"
#include "oled.h"
#include "memzero.h"
#include "messages.h"
#include "messages.pb.h"
#include "oled.h"
#include "protect.h"
#include "rng.h"
#include "sha2.h"

Loading…
Cancel
Save