Re: [Flightgear-devel] validate_format in GUI/dialog.cxx

2007-07-03 Thread Melchior FRANZ
* John Denker -- Tuesday 03 July 2007: > The following more correctly recognizes "flags" in the format. Committed, thanks. m. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 e

[Flightgear-devel] validate_format in GUI/dialog.cxx

2007-07-03 Thread John Denker
The following more correctly recognizes "flags" in the format. --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -37,7 +37,7 @@ validate_format(const char *f) } if (*f++ != '%') return f_INVALID; -if (*f == ' ' || *f == '+' || *f == '-' || *f == '#') +while (*f ==