aboutsummaryrefslogtreecommitdiff
path: root/People.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'People.cpp')
-rw-r--r--People.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/People.cpp b/People.cpp
index a6e65d5..4cd8a05 100644
--- a/People.cpp
+++ b/People.cpp
@@ -40,6 +40,7 @@ string People::to_string() {
out += stringf("%d artists\n", this->artist_count);
for (Artist * artist : this->artists) {
+ if (artist == nullptr) continue;
out += stringf("- at (%.2f,%.2f)\n", artist->data.x, artist->data.y);
}