struct fmt_spec's 'd' member is not normally a number of "implied"
decimal places. It is normally the number of decimal places that
will be presented in formatted values. Thus, update the comment.
---
src/data/format.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/data/format.h b/src/data/format.h
index 43e8221..1744bec 100644
--- a/src/data/format.h
+++ b/src/data/format.h
@@ -1,5 +1,5 @@
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000, 2006, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2006, 2010, 2011, 2012 Free Software
Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -73,7 +73,7 @@ struct fmt_spec
{
enum fmt_type type; /* One of FMT_*. */
int w; /* Width. */
- int d; /* Number of implied decimal places. */
+ int d; /* Number of decimal places. */
};
/* Maximum width of any numeric format. */
--
1.7.2.5
_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev