X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstrings%2Ffmt.h;h=baf2a76f9b96ae51e7cf7d845193f39fcbc8c9a5;hp=84690d174388ce288eb78243d9973b1f2662d1e0;hb=dce2985e07e6184f000ef176451150710e21ee35;hpb=8552e6a4e4fbc454e08c582d1dbcd55ab58a3c37 diff --git a/source/strings/fmt.h b/source/strings/fmt.h index 84690d1..baf2a76 100644 --- a/source/strings/fmt.h +++ b/source/strings/fmt.h @@ -91,19 +91,19 @@ private: public: Fmt &width(unsigned w) { wd = w; return *this; } Fmt &precision(unsigned p) { prec = p; return *this; } - Fmt &showpos(bool s=true) { spos = s; return *this; } + Fmt &showpos(bool s = true) { spos = s; return *this; } Fmt &fill(wchar_t f) { fillc = f; return *this; } Fmt &fixed() { fmode = FIXED; return *this; } Fmt &scientific() { fmode = SCI; return *this; } - Fmt &showpoint(bool s=true) { spoint = s; return *this; } - Fmt &showbase(bool s=true) { sbase = s; return *this; } + Fmt &showpoint(bool s = true) { spoint = s; return *this; } + Fmt &showbase(bool s = true) { sbase = s; return *this; } Fmt &left() { align = LEFT; return *this; } Fmt &right() { align = RIGHT; return *this; } Fmt &dec() { base = DEC; return *this; } Fmt &hex() { base = HEX; return *this; } Fmt &oct() { base = OCT; return *this; } Fmt &bin() { base = BIN; return *this; } - Fmt &uppercase(bool u=true) { ucase = u; return *this; } + Fmt &uppercase(bool u = true) { ucase = u; return *this; } Fmt &numeric() { type = NUM; return *this; } Fmt &character() { type = CHAR; return *this; } Fmt &string() { type = STR; return *this; }