summaryrefslogtreecommitdiff
path: root/src/formatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/formatter.h')
-rw-r--r--src/formatter.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/formatter.h b/src/formatter.h
index aacf893..8bb8e08 100644
--- a/src/formatter.h
+++ b/src/formatter.h
@@ -64,9 +64,14 @@ namespace Bu
64 return Fmt( uWidth, 16, Right, false, bCaps, '0' ); 64 return Fmt( uWidth, 16, Right, false, bCaps, '0' );
65 } 65 }
66 66
67 static Fmt oct( unsigned int uWidth=0, bool bCaps=true ) 67 static Fmt oct( unsigned int uWidth=0 )
68 { 68 {
69 return Fmt( uWidth, 8, Right, false, bCaps, '0' ); 69 return Fmt( uWidth, 8, Right, false, false, '0' );
70 }
71
72 static Fmt bin( unsigned int uWidth=0 )
73 {
74 return Fmt( uWidth, 1, Right, false, false, '0' );
70 } 75 }
71 76
72 static Fmt ptr( bool bCaps=true ) 77 static Fmt ptr( bool bCaps=true )