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:
Philippe Mathieu-Daudé 2020-03-05 13:45:23 +01:00 committed by Paolo Bonzini
parent 092b6d1e88
commit 80e8c2ed1c
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,7 @@ static void font_setup(void)
* Control characters are normally non-printable, but VGA does have
* well-known glyphs for them.
*/
static uint16_t control_characters[0x20] = {
static const uint16_t control_characters[0x20] = {
0x0020,
0x263a,
0x263b,