summaryrefslogtreecommitdiff
path: root/src/Panorama.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-09-13 20:26:19 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-09-13 20:26:19 +0200
commit48e3fb2f75ad9ae916078ed5d1c0819df873156d (patch)
treea525aa5768319315d18ff647d3764e3fdcac895b /src/Panorama.cxx
parent25ddb4d2a387589839e2a6d3f773e0420475f857 (diff)
improve error message if data file is not found
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r--src/Panorama.cxx1
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;
}