aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-08-02 10:09:29 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-08-02 10:09:29 +0200
commitefdcf941742cb63b441656241d6699ac8d2819d3 (patch)
tree3a1745faeb6ecb550427bf748b5cbb08e8966027
parent381e87cbd2720180c873f8028de3b827f4d2e1bd (diff)
downloadbitcoin-efdcf941742cb63b441656241d6699ac8d2819d3.tar.xz
fix further spelling errors / remove a tab in the source
-rw-r--r--src/qt/guiutil.cpp2
-rw-r--r--src/test/bignum_tests.cpp6
-rw-r--r--src/util.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index d3afc0a565..558eff6d5d 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -451,7 +451,7 @@ void HelpMessageBox::printToConsole()
void HelpMessageBox::showOrPrint()
{
#if defined(WIN32)
- // On windows, show a message box, as there is no stderr/stdout in windowed applications
+ // On Windows, show a message box, as there is no stderr/stdout in windowed applications
exec();
#else
// On other operating systems, print help text to console
diff --git a/src/test/bignum_tests.cpp b/src/test/bignum_tests.cpp
index 8620f81f17..744681871f 100644
--- a/src/test/bignum_tests.cpp
+++ b/src/test/bignum_tests.cpp
@@ -12,8 +12,8 @@ BOOST_AUTO_TEST_SUITE(bignum_tests)
// You should use it like this:
// NOINLINE void function() {...}
#if defined(__GNUC__)
-// This also works and will be defined for any compiler implementing gcc
-// extensions, such as clang and icc.
+// This also works and will be defined for any compiler implementing GCC
+// extensions, such as Clang and ICC.
#define NOINLINE __attribute__((noinline))
#elif defined(_MSC_VER)
#define NOINLINE __declspec(noinline)
@@ -48,7 +48,7 @@ BOOST_AUTO_TEST_SUITE(bignum_tests)
// that -ftrapv will detect overflows.
NOINLINE void mysetint64(CBigNum& num, int64 n)
{
- num.setint64(n);
+ num.setint64(n);
}
// For each number, we do 2 tests: one with inline code, then we reset the
diff --git a/src/util.h b/src/util.h
index 8244dcbaf1..709b0e05bd 100644
--- a/src/util.h
+++ b/src/util.h
@@ -12,7 +12,7 @@
#include <sys/time.h>
#include <sys/resource.h>
#else
-typedef int pid_t; /* define for windows compatibility */
+typedef int pid_t; /* define for Windows compatibility */
#endif
#include <map>
#include <vector>