From a1c84c8404dcdaa7206f1282b7470c551678a67d Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 2 Jul 2003 05:42:21 +0000 Subject: check for last_key --- src/Keys.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Keys.cc b/src/Keys.cc index f25eb4a..a0aabd5 100644 --- a/src/Keys.cc +++ b/src/Keys.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -//$Id: Keys.cc,v 1.34 2003/06/30 20:59:28 fluxgen Exp $ +//$Id: Keys.cc,v 1.35 2003/07/02 05:42:21 fluxgen Exp $ #include "Keys.hh" @@ -189,7 +189,11 @@ bool Keys::load(const char *filename) { } } else { // parse command line - + if (last_key == 0) { + cerr<<"File: "< "<