summaryrefslogtreecommitdiff
path: root/Aktywator/ParyTournament.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-22 13:13:08 +0200
committeremkael <emkael@tlen.pl>2017-08-22 13:57:14 +0200
commitc3be44ed94e61c3c4bb6a69f0db891580ee7a037 (patch)
tree1e27944e7ed3279d3f82a55c5a960aa3ca02ccfc /Aktywator/ParyTournament.cs
parentdd57a2d7819112dad810c258a2b19f62c5b09fa6 (diff)
Filling empty player names with spaces so that "name n/a" message is not displayed in the bridgemate
Diffstat (limited to 'Aktywator/ParyTournament.cs')
-rw-r--r--Aktywator/ParyTournament.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Aktywator/ParyTournament.cs b/Aktywator/ParyTournament.cs
index 9a592d7..f467119 100644
--- a/Aktywator/ParyTournament.cs
+++ b/Aktywator/ParyTournament.cs
@@ -39,13 +39,13 @@ namespace Aktywator
{
pairs.Add(pairNo, new List<string>());
}
- pairs[pairNo].Add(dbData.IsDBNull(1) ? "" : dbData.GetString(1));
+ pairs[pairNo].Add(dbData.IsDBNull(1) ? " " : dbData.GetString(1));
}
foreach (KeyValuePair<int, List<string>> pair in pairs)
{
while (pair.Value.Count < 2)
{
- pair.Value.Add("");
+ pair.Value.Add(" ");
}
}
dbData.Close();