summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-06-25 12:47:03 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-06-25 12:47:03 +0200
commitb8a44e5e78d6b9f9c045f1c4e9600e1b346e099c (patch)
tree23b396df92d1bc17c418d617d1a9c8bfe9879501 /src
parent7d900b4ede22215413e4a0ddd1675c650ba3225f (diff)
do not use empty string for dummy Hill name (dumps in destructor)
Diffstat (limited to 'src')
-rw-r--r--src/Hill.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hill.cxx b/src/Hill.cxx
index 626e470..67e1d8e 100644
--- a/src/Hill.cxx
+++ b/src/Hill.cxx
@@ -58,7 +58,7 @@ Hill::Hill(const Hill& h) {
}
Hill::Hill(int x_tmp, int y_tmp) {
- name = "";
+ name = NULL;
phi = 0.0;
lam = 0.0;
height = 0.0;