format: Fix typo in comment.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 5 Jan 2021 22:20:16 +0000 (14:20 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 5 Jan 2021 22:20:16 +0000 (14:20 -0800)
src/data/format.h

index d52848fadced368466f84b073e807906f40a0aef..09c6331ef223ae94bd2a9ea3166c37fa75dc6801 100644 (file)
@@ -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,
-       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