From 48e3fb2f75ad9ae916078ed5d1c0819df873156d Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 13 Sep 2005 20:26:19 +0200 Subject: improve error message if data file is not found --- src/Panorama.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Panorama.cxx') 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; } -- cgit v1.2.3