aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/predictivedialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/predictivedialog.cpp b/gui/predictivedialog.cpp
index fd86fb4ac9..6f52f0a1d4 100644
--- a/gui/predictivedialog.cpp
+++ b/gui/predictivedialog.cpp
@@ -374,14 +374,14 @@ void PredictiveDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 d
void PredictiveDialog::processBtnActive(ButtonId button) {
uint8 x;
- const char *buttonStr[] = {
+ static const char *const buttonStr[] = {
"1", "2", "3",
"4", "5", "6",
"7", "8", "9",
"0"
};
- const char *buttons[] = {
+ static const char *const buttons[] = {
"'-.&", "abc", "def",
"ghi", "jkl", "mno",
"pqrs", "tuv", "wxyz",