projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3acd86a
)
format: Fix typo in comment.
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 5 Jan 2021 22:20:16 +0000
(14:20 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 5 Jan 2021 22:20:16 +0000
(14:20 -0800)
src/data/format.h
patch
|
blob
|
history
diff --git
a/src/data/format.h
b/src/data/format.h
index d52848fadced368466f84b073e807906f40a0aef..09c6331ef223ae94bd2a9ea3166c37fa75dc6801 100644
(file)
--- a/
src/data/format.h
+++ b/
src/data/format.h
@@
-174,7
+174,7
@@
struct fmt_number_style
char grouping; /* Grouping character: ',', '.', or 0. */
/* A fmt_affix may require more bytes than its display width; for example,
char grouping; /* Grouping character: ',', '.', or 0. */
/* A fmt_affix may require more bytes than its display width; for example,
- U+00A5 (¥) is
3
bytes in UTF-8 but occupies only one display column.
+ U+00A5 (¥) is
2
bytes in UTF-8 but occupies only one display column.
This member is the sum of the number of bytes required by all of the
fmt_affix members in this struct, minus their display widths. Thus, it
can be used to size memory allocations: for example, the formatted
This member is the sum of the number of bytes required by all of the
fmt_affix members in this struct, minus their display widths. Thus, it
can be used to size memory allocations: for example, the formatted