bracesless blocks are peanuts! It's forgotten "else" that do real harm. :-)
This commit is contained in:
parent
674df0c4cd
commit
722fb05ce7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue