ui/curses: Make control_characters[] array const
As we only use this array as input, make it const. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
092b6d1e88
commit
80e8c2ed1c
@ -529,7 +529,7 @@ static void font_setup(void)
|
|||||||
* Control characters are normally non-printable, but VGA does have
|
* Control characters are normally non-printable, but VGA does have
|
||||||
* well-known glyphs for them.
|
* well-known glyphs for them.
|
||||||
*/
|
*/
|
||||||
static uint16_t control_characters[0x20] = {
|
static const uint16_t control_characters[0x20] = {
|
||||||
0x0020,
|
0x0020,
|
||||||
0x263a,
|
0x263a,
|
||||||
0x263b,
|
0x263b,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user