summaryrefslogtreecommitdiff
path: root/src/base/cprintf_formats.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/cprintf_formats.hh')
-rw-r--r--src/base/cprintf_formats.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/cprintf_formats.hh b/src/base/cprintf_formats.hh
index 75157a540..6bf6b2b66 100644
--- a/src/base/cprintf_formats.hh
+++ b/src/base/cprintf_formats.hh
@@ -50,6 +50,8 @@ struct Format
enum { best, fixed, scientific } float_format;
int precision;
int width;
+ bool get_precision;
+ bool get_width;
Format() { clear(); }
@@ -65,6 +67,8 @@ struct Format
format = none;
precision = -1;
width = 0;
+ get_precision = false;
+ get_width = false;
}
};