diff options
author | emkael <emkael@tlen.pl> | 2017-08-22 13:13:08 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-08-22 13:57:14 +0200 |
commit | c3be44ed94e61c3c4bb6a69f0db891580ee7a037 (patch) | |
tree | 1e27944e7ed3279d3f82a55c5a960aa3ca02ccfc /Aktywator/TeamyTournament.cs | |
parent | dd57a2d7819112dad810c258a2b19f62c5b09fa6 (diff) |
Filling empty player names with spaces so that "name n/a" message is not displayed in the bridgemate
Diffstat (limited to 'Aktywator/TeamyTournament.cs')
-rw-r--r-- | Aktywator/TeamyTournament.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Aktywator/TeamyTournament.cs b/Aktywator/TeamyTournament.cs index 7bc3496..78ce0e0 100644 --- a/Aktywator/TeamyTournament.cs +++ b/Aktywator/TeamyTournament.cs @@ -35,8 +35,8 @@ namespace Aktywator while (dbData.Read()) { List<string> names = new List<string>(); - names.Add(dbData.IsDBNull(1) ? "" : dbData.GetString(1)); - names.Add(""); + names.Add(dbData.IsDBNull(1) ? " " : dbData.GetString(1)); + names.Add(" "); teams.Add(dbData.GetInt32(0), names); } dbData.Close(); |