From 1c8cc65f6c7fe313b8dda251dd066f6f39c514e7 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Tue, 24 Oct 2017 14:10:29 +0300 Subject: [PATCH] Fix typos --- include/spdlog/details/pattern_formatter_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/details/pattern_formatter_impl.h b/include/spdlog/details/pattern_formatter_impl.h index 50c19aa1..25c716d2 100644 --- a/include/spdlog/details/pattern_formatter_impl.h +++ b/include/spdlog/details/pattern_formatter_impl.h @@ -119,14 +119,14 @@ class B_formatter:public flag_formatter }; -//write 2 ints seperated by sep with padding of 2 +//write 2 ints separated by sep with padding of 2 static fmt::MemoryWriter& pad_n_join(fmt::MemoryWriter& w, int v1, int v2, char sep) { w << fmt::pad(v1, 2, '0') << sep << fmt::pad(v2, 2, '0'); return w; } -//write 3 ints seperated by sep with padding of 2 +//write 3 ints separated by sep with padding of 2 static fmt::MemoryWriter& pad_n_join(fmt::MemoryWriter& w, int v1, int v2, int v3, char sep) { w << fmt::pad(v1, 2, '0') << sep << fmt::pad(v2, 2, '0') << sep << fmt::pad(v3, 2, '0');