diff options
author | emkael <emkael@tlen.pl> | 2017-08-23 18:07:44 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-08-23 18:07:44 +0200 |
commit | b936f4d7aac6b677be2c16fe4e750eda2df6f230 (patch) | |
tree | bdcfd2ca13025855429b72cdd6c5490b925cfa7b | |
parent | a7c21fced22dfe48b78b56c8cc44a8601d2ad963 (diff) |
Shortened names in preview now accurate with what's actually sent to BWS
-rw-r--r-- | Aktywator/Tournament.cs | 4 |
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 " "; |