From 1300301a52bba102fed8b08bdcb668d246973af5 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 11 May 2010 13:27:30 +0000 Subject: Fixed an issue in the reader, it was tokenizing. --- src/formatter.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/formatter.h') diff --git a/src/formatter.h b/src/formatter.h index 47592ad..7e0c54b 100644 --- a/src/formatter.h +++ b/src/formatter.h @@ -32,7 +32,8 @@ namespace Bu uRadix( 10 ), uAlign( Right ), bPlus( false ), - bCaps( true ) + bCaps( true ), + bTokenize( true ) { } @@ -44,7 +45,8 @@ namespace Bu uRadix( uRadix ), uAlign( a ), bPlus( bPlus ), - bCaps( bCaps ) + bCaps( bCaps ), + bTokenize( true ) { } Fmt( unsigned int uMinWidth, Alignment a, @@ -55,7 +57,8 @@ namespace Bu uRadix( uRadix ), uAlign( a ), bPlus( bPlus ), - bCaps( bCaps ) + bCaps( bCaps ), + bTokenize( true ) { } @@ -85,6 +88,7 @@ namespace Bu Fmt &align( Alignment eAlign ); Fmt &plus( bool bPlus=true ); Fmt &caps( bool bCaps=true ); + Fmt &tokenize( bool bTokenize=true ); Fmt &left(); Fmt &right(); @@ -96,6 +100,7 @@ namespace Bu unsigned short uAlign : 2; unsigned short bPlus : 1; unsigned short bCaps : 1; + unsigned short bTokenize : 1; } Fmt; void write( const Bu::FString &sStr ); -- cgit v1.2.3