mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 13:38:45 +02:00
text-step-bar: use correct utf-8 multibyte sequence for ■
For some reason in commit 113526408c
I commited the sequence \x25\x96\xa0 in place of the block character
that was there before. I don't know where I got \x25 from, but it's
not right (and couldn't even be right since the high order bit isn't
set which is a requirement for the first byte in multi-byte utf-8
sequences).
This commit uses \xe2 instead which I got from doing:
$ echo ■ | xxd
0000000: e296 a00a ....
This commit is contained in:
parent
84eb4381db
commit
40c2dd36c5
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ ply_text_step_bar_draw (ply_text_step_bar_t *step_bar)
|
|||
PLY_TERMINAL_COLOR_BROWN);
|
||||
|
||||
/* U+25A0 BLACK SQUARE */
|
||||
ply_text_display_write (step_bar->display, "%s", "\x25\x96\xa0");
|
||||
ply_text_display_write (step_bar->display, "%s", "\xe2\x96\xa0");
|
||||
ply_text_display_write (step_bar->display, "%c", ' ');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue