Return blank string values for string entries that return back null

This commit is contained in:
Akkadius
2020-04-04 04:48:46 -05:00
parent 15c9b64120
commit fe7e850a04
97 changed files with 788 additions and 790 deletions
+3 -3
View File
@@ -173,7 +173,7 @@ public:
ZonePoints entry{};
entry.id = atoi(row[0]);
entry.zone = row[1];
entry.zone = row[1] ? row[1] : "";
entry.version = atoi(row[2]);
entry.number = atoi(row[3]);
entry.y = atof(row[4]);
@@ -350,7 +350,7 @@ public:
ZonePoints entry{};
entry.id = atoi(row[0]);
entry.zone = row[1];
entry.zone = row[1] ? row[1] : "";
entry.version = atoi(row[2]);
entry.number = atoi(row[3]);
entry.y = atof(row[4]);
@@ -391,7 +391,7 @@ public:
ZonePoints entry{};
entry.id = atoi(row[0]);
entry.zone = row[1];
entry.zone = row[1] ? row[1] : "";
entry.version = atoi(row[2]);
entry.number = atoi(row[3]);
entry.y = atof(row[4]);