diff --git a/ChangeLog.rst b/ChangeLog.rst index 2899154a..423f3292 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1057,7 +1057,7 @@ 3.0.1 - 2016-11-01 ------------------ -* Fixed handling of thousands seperator +* Fixed handling of thousands separator (`#353 `_). * Fixed handling of ``unsigned char`` strings diff --git a/include/fmt/color.h b/include/fmt/color.h index 39c52c2f..3e98ba4a 100644 --- a/include/fmt/color.h +++ b/include/fmt/color.h @@ -518,7 +518,7 @@ inline void reset_color(basic_memory_buffer& buffer) FMT_NOEXCEPT { buffer.append(begin, end); } -// The following specialiazation disables using std::FILE as a character type, +// The following specialization disables using std::FILE as a character type, // which is needed because or else // fmt::print(stderr, fmt::emphasis::bold, ""); // would take stderr (a std::FILE *) as the format string. diff --git a/include/fmt/format.h b/include/fmt/format.h index b500b17d..d4fd9bb4 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1870,7 +1870,7 @@ template struct arg_ref { // Format specifiers with width and precision resolved at formatting rather // than parsing time to allow re-using the same parsed specifiers with -// differents sets of arguments (precompilation of format strings). +// different sets of arguments (precompilation of format strings). template struct dynamic_format_specs : basic_format_specs { arg_ref width_ref; @@ -2879,7 +2879,7 @@ void basic_writer::write_double(T value, const format_specs& spec) { } } write_inf_or_nan = {*this, spec, sign, handler.as_percentage}; - // Format ininity and NaN ourselves because sprintf's output is not consistent + // Format infinity and NaN ourselves because sprintf's output is not consistent // across platforms. if (internal::fputil::isinfinity(value)) return write_inf_or_nan(handler.upper ? "INF" : "inf"); diff --git a/include/fmt/printf.h b/include/fmt/printf.h index e8b3049e..db1bf0bb 100644 --- a/include/fmt/printf.h +++ b/include/fmt/printf.h @@ -119,7 +119,7 @@ class arg_converter : public function { template typename std::enable_if::value>::type operator()(U) { - // No coversion needed for non-integral types. + // No conversion needed for non-integral types. } }; @@ -149,7 +149,7 @@ template class char_converter : public function { template typename std::enable_if::value>::type operator()(T) { - // No coversion needed for non-integral types. + // No conversion needed for non-integral types. } };