aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed/config.h
diff options
context:
space:
mode:
authorNeeraj Kumar2010-07-18 18:11:37 +0000
committerNeeraj Kumar2010-07-18 18:11:37 +0000
commitd2fc68222b68f17d5850cf214a22663cd86807ac (patch)
tree4fbaf7f8eee0384c74f2dd0f47645474becbc4c6 /engines/testbed/config.h
parent0ae45ed7ed955f88fc692c1fcdec8771ecbb0071 (diff)
downloadscummvm-rg350-d2fc68222b68f17d5850cf214a22663cd86807ac.tar.gz
scummvm-rg350-d2fc68222b68f17d5850cf214a22663cd86807ac.tar.bz2
scummvm-rg350-d2fc68222b68f17d5850cf214a22663cd86807ac.zip
fixed some typos
svn-id: r51000
Diffstat (limited to 'engines/testbed/config.h')
-rw-r--r--engines/testbed/config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/testbed/config.h b/engines/testbed/config.h
index 12dd59b31e..b141330b3b 100644
--- a/engines/testbed/config.h
+++ b/engines/testbed/config.h
@@ -82,8 +82,10 @@ public:
void setColorAll(GUI::ThemeEngine::FontColor color) {
for (uint i = 0; i < _listColors.size(); i++) {
- _listColors[i] = color;
- _list[i] += " (selected)";
+ if (!_list[i].contains("selected")) {
+ _listColors[i] = color;
+ _list[i] += " (selected)";
+ }
}
draw();;
}