format: Honor width step in fmt_fix().
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 4 Jul 2011 21:12:42 +0000 (14:12 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 13 Jul 2011 14:12:57 +0000 (07:12 -0700)
commit676891a38608a91595d7af418785d045bb831f92
treee52e71f8b74dac40e3f314e72db35cfb90d7af63
parentbe7746b1dbfae61c8883774d2c475f23dd9c159e
format: Honor width step in fmt_fix().

This ensures that hexadecimal format widths will be a multiple
of 2 after fmt_fix() finishes with them.

This function is used only by the GUI, which doesn't generally
work with hexadecimal formats, so it might not fix a real bug
in practice.
src/data/format.c