Remove \l, add \f in character pretty printing

I have never head of \l and MSVC warns about unknown escape sequence, so
I changed it into \f that definitely exists and potentially might be
useful.
This commit is contained in:
Martin Hořeňovský 2017-02-01 21:31:14 +01:00
parent a600bfeb75
commit f58ff0c540

View File

@ -148,8 +148,8 @@ std::string toString( bool value ) {
std::string toString( char value ) { std::string toString( char value ) {
if ( value == '\r' ) if ( value == '\r' )
return "'\\r'"; return "'\\r'";
if ( value == '\l' ) if ( value == '\f' )
return "'\\l'"; return "'\\f'";
if ( value == '\n' ) if ( value == '\n' )
return "'\\n'"; return "'\\n'";
if ( value == '\t' ) if ( value == '\t' )