From 46efbb0801e689491fe69fdb13863206c7df1f17 Mon Sep 17 00:00:00 2001 From: mfranz Date: Tue, 1 Aug 2006 21:43:13 +0000 Subject: [PATCH] - "almost zero" is zero - improve/add warning --- src/Instrumentation/HUD/HUD_label.cxx | 3 ++- src/Instrumentation/HUD/HUD_tape.cxx | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Instrumentation/HUD/HUD_label.cxx b/src/Instrumentation/HUD/HUD_label.cxx index 16a234873..eb7d979f2 100644 --- a/src/Instrumentation/HUD/HUD_label.cxx +++ b/src/Instrumentation/HUD/HUD_label.cxx @@ -69,7 +69,8 @@ HUD::Label::Label(HUD *hud, const SGPropertyNode *n, float x, float y) : _mode = check_format(_format.c_str()); if (_mode == INVALID) { - SG_LOG(SG_INPUT, SG_ALERT, "HUD: invalid format '" << _format.c_str() << '\''); + SG_LOG(SG_INPUT, SG_ALERT, "HUD: invalid format '" << _format.c_str() + << "' in