Skip to content
Snippets Groups Projects
Commit 80e8c2ed authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé Committed by Paolo Bonzini
Browse files

ui/curses: Make control_characters[] array const


As we only use this array as input, make it const.

Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 092b6d1e
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment