diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-06-25 12:47:03 +0200 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-06-25 12:47:03 +0200 |
| commit | b8a44e5e78d6b9f9c045f1c4e9600e1b346e099c (patch) | |
| tree | 23b396df92d1bc17c418d617d1a9c8bfe9879501 /src | |
| parent | 7d900b4ede22215413e4a0ddd1675c650ba3225f (diff) | |
do not use empty string for dummy Hill name (dumps in destructor)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Hill.cxx | 2 |
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; |
