summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Aktywator/Tournament.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Aktywator/Tournament.cs b/Aktywator/Tournament.cs
index aa5f042..038fdbb 100644
--- a/Aktywator/Tournament.cs
+++ b/Aktywator/Tournament.cs
@@ -114,6 +114,10 @@ namespace Aktywator
virtual internal string shortenNameToBWS(string name)
{
name = Common.bezOgonkow(name);
+ if (name.Length > 18)
+ {
+ name = name.Substring(0, 18);
+ }
if ("pauza".Equals(name.Trim()))
{
return " ";