summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-23 18:08:27 +0200
committeremkael <emkael@tlen.pl>2017-08-23 18:08:27 +0200
commit21e004434b991ffe89d3c47917308ef58a5b7b3c (patch)
tree6b9051b11402dcbfabf3477f45a7c3f021fc3355
parent45ce5aa9c869aea4f650d7abe67081895c145aab (diff)
parentb936f4d7aac6b677be2c16fe4e750eda2df6f230 (diff)
Merge branch 'names-list' into 1.1-beta
-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 " ";