From 605e049a9799aa9bea0b50555e33048d23b4a6e4 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Mon, 6 Sep 2004 03:22:35 +0000 Subject: [PATCH] Fix: ' and " are not shown properly. You always type a " anyway. --- stepmania/src/ScreenTextEntry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenTextEntry.cpp b/stepmania/src/ScreenTextEntry.cpp index d5feab9f04..8cfceac735 100644 --- a/stepmania/src/ScreenTextEntry.cpp +++ b/stepmania/src/ScreenTextEntry.cpp @@ -140,12 +140,13 @@ void ScreenTextEntry::Input( const DeviceInput& DeviceI, const InputEventType ty case ']': c='}'; break; case '\\': c='|'; break; case ';': c=':'; break; - case '\'': c='"'; break; case ',': c='<'; break; case '.': c='>'; break; case '/': c='?'; break; } } + if ( !bHoldingShift && (c == '\"') ) + c = '\''; if( c >= ' ' ) {