commit 4b2d64719584daddef6ff8b81c175677495496a2 parent e1c519a051704b5b0076e63ce6cc51f9d3ac8389 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Apr 1 11:17:58 +0300 GGformat fix Diffstat:
ggformat.cc | | | 2 | +- |
diff --git a/ggformat.cc b/ggformat.cc @@ -51,7 +51,7 @@ void format( FormatBuffer * fb, double x, const FormatOpts & opts ) { if( opts.left_align ) fmt += "-"; if( opts.width != -1 ) fmt += opts.width + 1 + precision; fmt += "."; - fmt += opts.precision; + fmt += precision; fmt += "f"; format_helper( fb, fmt, x ); }