aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-08-02 14:36:45 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-08-02 14:36:45 -0700
commitdd199d0ebd086262626a5cc0ce794de6a477d731 (patch)
tree94795a9ebf835441a651abce8e14b387709774e5 /src
parent88bd0120036bf9ccdb2820e3d7dbe5d4d55e8f79 (diff)
parentefdcf941742cb63b441656241d6699ac8d2819d3 (diff)
Merge pull request #1650 from Diapolo/spelling_fixes
fix further spelling errors / remove a tab in the source
Diffstat (limited to 'src')
-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>