aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenName.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Screens/UScreenName.pas')
-rw-r--r--Game/Code/Screens/UScreenName.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenName.pas b/Game/Code/Screens/UScreenName.pas
index 6d3e81b4..6a5ef4c5 100644
--- a/Game/Code/Screens/UScreenName.pas
+++ b/Game/Code/Screens/UScreenName.pas
@@ -36,7 +36,7 @@ begin
// check normal keys
if (IsAlphaNumericChar(CharCode) or
- (CharCode in [' ','-','_','!',',','<','/','*','?','''','"'])) then
+ {(CharCode in [' ','-','_','!',',','<','/','*','?','''','"']))} IsPunctuationChar(CharCode)) then
begin
Button[Interaction].Text[0].Text := Button[Interaction].Text[0].Text + CharCode;
Exit;