From 722fb05ce7fd899f09e5815535e61d2d2fef22d8 Mon Sep 17 00:00:00 2001 From: mfranz Date: Wed, 12 Jul 2006 20:54:27 +0000 Subject: [PATCH] bracesless blocks are peanuts! It's forgotten "else" that do real harm. :-) --- src/Instrumentation/HUD/HUD_label.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/HUD/HUD_label.cxx b/src/Instrumentation/HUD/HUD_label.cxx index 4cb3c8aba..5a2d215af 100644 --- a/src/Instrumentation/HUD/HUD_label.cxx +++ b/src/Instrumentation/HUD/HUD_label.cxx @@ -168,7 +168,7 @@ HUD::Label::Format HUD::Label::check_format(const char *f) const if (*f == 'd') fmt = l ? LONG : INT; - if (*f == 'f') + else if (*f == 'f') fmt = l ? DOUBLE : FLOAT; else if (*f == 's') { if (l) -- 2.39.5