aboutsummaryrefslogtreecommitdiff
path: root/src/tinyformat.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-03-21 11:16:28 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-03-21 11:17:43 -0400
commit4ad3b3c72c73d61e0a0cab541dca20acf651320d (patch)
treea8f4405d7491b470bb345ffb936ec09cb887e345 /src/tinyformat.h
parent9b8b1079ddab64ac955766536c38d23dc57bc499 (diff)
parent4d9b4256d89d1f7c6b3e4938ab2e89cde296e8e8 (diff)
downloadbitcoin-4ad3b3c72c73d61e0a0cab541dca20acf651320d.tar.xz
Merge #12716: Fix typos and cleanup in various files
4d9b4256d8 Fix typos (Dimitris Apostolou) Pull request description: Unfortunately I messed up my repo while trying to squash #12593 so I created a PR with just the correct fixes. Tree-SHA512: 295d77b51bd2a9381f1802c263de7ffb2edd670d9647391e32f9a414705b3c8b483bb0e469a9b85ab6a70919ea13397fa8dfda2aea7a398b64b187f178fe6a06
Diffstat (limited to 'src/tinyformat.h')
-rw-r--r--src/tinyformat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tinyformat.h b/src/tinyformat.h
index d34cfaa94f..14b7cd3026 100644
--- a/src/tinyformat.h
+++ b/src/tinyformat.h
@@ -155,7 +155,7 @@ namespace tfm = tinyformat;
#endif
#ifdef __APPLE__
-// Workaround OSX linker warning: xcode uses different default symbol
+// Workaround OSX linker warning: Xcode uses different default symbol
// visibilities for static libs vs executables (see issue #25)
# define TINYFORMAT_HIDDEN __attribute__((visibility("hidden")))
#else
@@ -592,7 +592,7 @@ inline const char* printFormatStringLiteral(std::ostream& out, const char* fmt)
// Formatting options which can't be natively represented using the ostream
// state are returned in spacePadPositive (for space padded positive numbers)
// and ntrunc (for truncating conversions). argIndex is incremented if
-// necessary to pull out variable width and precision . The function returns a
+// necessary to pull out variable width and precision. The function returns a
// pointer to the character after the end of the current format spec.
inline const char* streamStateFromFormat(std::ostream& out, bool& spacePadPositive,
int& ntrunc, const char* fmtStart,