mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 18:19:43 +01:00
Fix Graphics::map_option() not uppercasing selected text
Forgot to do this earlier, whoops.
This commit is contained in:
parent
8c4b48fbfd
commit
8ed9ee1ca2
1 changed files with 3 additions and 1 deletions
|
@ -334,7 +334,9 @@ void Graphics::map_option(int opt, int num_opts, const std::string& text, bool s
|
||||||
|
|
||||||
if (selected)
|
if (selected)
|
||||||
{
|
{
|
||||||
Print(x - 16, y, "[ " + text + " ]", 196, 196, 255 - help.glow);
|
std::string text_upper(text);
|
||||||
|
std::transform(text_upper.begin(), text_upper.end(), text_upper.begin(), ::toupper);
|
||||||
|
Print(x - 16, y, "[ " + text_upper + " ]", 196, 196, 255 - help.glow);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue