summaryrefslogtreecommitdiff
path: root/src/formatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/formatter.cpp')
-rw-r--r--src/formatter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formatter.cpp b/src/formatter.cpp
index 7ebe256..3e0f41e 100644
--- a/src/formatter.cpp
+++ b/src/formatter.cpp
@@ -459,7 +459,7 @@ Bu::Formatter &Bu::operator>>( Bu::Formatter &f, long double &flt )
459Bu::Formatter &Bu::operator>>( Bu::Formatter &f, bool &b ) 459Bu::Formatter &Bu::operator>>( Bu::Formatter &f, bool &b )
460{ 460{
461 Bu::FString sStr = f.readToken(); 461 Bu::FString sStr = f.readToken();
462 if( !sStr ) 462 if( !sStr.isSet() )
463 return f; 463 return f;
464 char c = *sStr.begin(); 464 char c = *sStr.begin();
465 if( c == 'y' || c == 'Y' || c == 't' || c == 'T' ) 465 if( c == 'y' || c == 'Y' || c == 't' || c == 'T' )