1
0
Fork 0

Add a few else statements to make the checking work correct. Thanks Tiago Gusmao for detecting this.

This commit is contained in:
ehofman 2004-07-27 16:35:34 +00:00
parent 2bc09e5268
commit 99a7850cc7

View file

@ -79,9 +79,9 @@ FGGeneric::FGGeneric(string& config) {
if ( line_sep_string == "newline" ) if ( line_sep_string == "newline" )
line_separator = '\n'; line_separator = '\n';
if ( line_sep_string == "tab" ) else if ( line_sep_string == "tab" )
line_separator = '\t'; line_separator = '\t';
if ( line_sep_string == "space" ) else if ( line_sep_string == "space" )
line_separator = ' '; line_separator = ' ';
else if ( line_sep_string == "formfeed" ) else if ( line_sep_string == "formfeed" )
line_separator = '\f'; line_separator = '\f';