summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkarsh Simha <akarsh@kde.org>2016-08-17 05:12:08 (GMT)
committerAkarsh Simha <akarsh@kde.org>2016-08-17 05:12:08 (GMT)
commit433369d3a6d8078a04adb97b43e6f3d1160752e0 (patch)
treed5005e5209cdb7a68439b90a0659e5f22466174c
parentb25452cf0871ec16a149ae216f2c51f9a93f9257 (diff)
Initialize CatalogEntryData::catalog_name to empty.
While empty long names are valid, empty catalog names are invalid. So this would make a lot of checks easier.
-rw-r--r--datahandlers/catalogentrydata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/datahandlers/catalogentrydata.cpp b/datahandlers/catalogentrydata.cpp
index 8396b72..c893dd7 100644
--- a/datahandlers/catalogentrydata.cpp
+++ b/datahandlers/catalogentrydata.cpp
@@ -20,7 +20,7 @@
#include "../kstars/nan.h"
CatalogEntryData::CatalogEntryData() {
- catalog_name = "Nil";
+ catalog_name = "";
ID = -1;
long_name = "Nil";
ra = NaN::d;