diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-09-13 20:26:19 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-09-13 20:26:19 +0200 |
commit | 48e3fb2f75ad9ae916078ed5d1c0819df873156d (patch) | |
tree | a525aa5768319315d18ff647d3764e3fdcac895b | |
parent | 25ddb4d2a387589839e2a6d3f773e0420475f857 (diff) |
improve error message if data file is not found
-rw-r--r-- | src/Panorama.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx index d61abd0..e47326a 100644 --- a/src/Panorama.cxx +++ b/src/Panorama.cxx @@ -57,6 +57,7 @@ Panorama::~Panorama() { int Panorama::load_data(const char *name) { if (mountains->load(name) != 0) { + fprintf(stderr, "Could not load datafile %s\n", name); return 1; } |