aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-03-29 02:00:25 +0200
committerJohannes Schickel2012-03-29 02:00:25 +0200
commit988c3fd6c5d77b711c449a79693ba9981289e721 (patch)
treeef1eb2875ed7dde9c3520a05c6954ce25357e535
parent02e77dd7b25c47b10eef57bb59385e43d22b8b87 (diff)
downloadscummvm-rg350-988c3fd6c5d77b711c449a79693ba9981289e721.tar.gz
scummvm-rg350-988c3fd6c5d77b711c449a79693ba9981289e721.tar.bz2
scummvm-rg350-988c3fd6c5d77b711c449a79693ba9981289e721.zip
GUI: Make some static strings in PredictiveDialog static + const.
-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",