diff options
Diffstat (limited to 'common/gui_options.cpp')
-rw-r--r-- | common/gui_options.cpp | 3 |
1 files changed, 3 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 } }; |