aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/gui_options.cpp3
-rw-r--r--common/gui_options.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/common/gui_options.cpp b/common/gui_options.cpp
index 120edd0b91..500830a303 100644
--- a/common/gui_options.cpp
+++ b/common/gui_options.cpp
@@ -80,6 +80,9 @@ const struct GameOpt {
{ GUIO_GAMEOPTIONS7, "gameOption7" },
{ GUIO_GAMEOPTIONS8, "gameOption8" },
{ GUIO_GAMEOPTIONS9, "gameOption9" },
+ // Option strings must not contain substrings of any other options, so
+ // "gameOption10" would be invalid here because it contains "gameOption1"
+ { GUIO_GAMEOPTIONS10, "gameOptionA" },
{ GUIO_NONE, 0 }
};
diff --git a/common/gui_options.h b/common/gui_options.h
index d51a29ad75..6c1aa2fdcd 100644
--- a/common/gui_options.h
+++ b/common/gui_options.h
@@ -74,6 +74,7 @@
#define GUIO_GAMEOPTIONS7 "\056"
#define GUIO_GAMEOPTIONS8 "\057"
#define GUIO_GAMEOPTIONS9 "\060"
+#define GUIO_GAMEOPTIONS10 "\061"
#define GUIO0() (GUIO_NONE)
#define GUIO1(a) (a)