From 86f98aca4206e5a377a63ebf3a6b465496e8eb42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 20 Apr 2024 19:50:33 +0200 Subject: [PATCH] Make it clear the tables are not modified during runtime --- src/map/IMG/lblfile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/map/IMG/lblfile.cpp b/src/map/IMG/lblfile.cpp index 55285e81..c2c7659b 100644 --- a/src/map/IMG/lblfile.cpp +++ b/src/map/IMG/lblfile.cpp @@ -7,7 +7,7 @@ using namespace IMG; enum Charset {Normal, Symbol, Special}; -static quint8 NORMAL_CHARS[] = { +static const quint8 NORMAL_CHARS[] = { ' ', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', @@ -16,7 +16,7 @@ static quint8 NORMAL_CHARS[] = { '8', '9', '~', '~', '~', '~', '~', '~' }; -static quint8 SYMBOL_CHARS[] = { +static const quint8 SYMBOL_CHARS[] = { '@', '!', '"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/', '~', '~', '~', '~', '~', '~', '~', '~', @@ -25,7 +25,7 @@ static quint8 SYMBOL_CHARS[] = { '~', '~', '~', '[', '\\', ']', '^', '_' }; -static quint8 SPECIAL_CHARS[] = { +static const quint8 SPECIAL_CHARS[] = { '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w',