diff options
| author | Nobuyoshi Nakada <[email protected]> | 2016-09-27 10:37:35 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <[email protected]> | 2016-09-28 12:29:41 +0900 |
| commit | 6511bfd79af479bd889a2d9250631a5ed78ecf51 (patch) | |
| tree | a224e6c6d052d05d5433298b17daa83d01de3872 /src/fmt_fp.c | |
| parent | 9d3167cabe64b61ce707a00a3a3108b580cf5d11 (diff) | |
| download | mruby-6511bfd79af479bd889a2d9250631a5ed78ecf51.tar.gz mruby-6511bfd79af479bd889a2d9250631a5ed78ecf51.zip | |
Removed trailing spaces
Diffstat (limited to 'src/fmt_fp.c')
| -rw-r--r-- | src/fmt_fp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c index 61c7a4cc9..483e04c39 100644 --- a/src/fmt_fp.c +++ b/src/fmt_fp.c @@ -253,7 +253,7 @@ fmt_fp(struct fmt_args *f, long double y, int w, int p, int fl, int t) if (z>d+1) z=d+1; } for (; z>a && !z[-1]; z--); - + if ((t|32)=='g') { if (!p) p++; if (p>e && e>=-4) { @@ -354,7 +354,7 @@ fmt_core(struct fmt_args *f, const char *fmt, mrb_float flo) return fmt_fp(f, flo, 0, p, 0, *fmt); default: return -1; - } + } } mrb_value |
