Browse Source

Merge pull request #1650 from Diapolo/spelling_fixes

fix further spelling errors / remove a tab in the source
0.8
Jeff Garzik 12 years ago
parent
commit
dd199d0ebd
  1. 2
      src/qt/guiutil.cpp
  2. 6
      src/test/bignum_tests.cpp
  3. 2
      src/util.h

2
src/qt/guiutil.cpp

@ -451,7 +451,7 @@ void HelpMessageBox::printToConsole()
void HelpMessageBox::showOrPrint() void HelpMessageBox::showOrPrint()
{ {
#if defined(WIN32) #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(); exec();
#else #else
// On other operating systems, print help text to console // On other operating systems, print help text to console

6
src/test/bignum_tests.cpp

@ -12,8 +12,8 @@ BOOST_AUTO_TEST_SUITE(bignum_tests)
// You should use it like this: // You should use it like this:
// NOINLINE void function() {...} // NOINLINE void function() {...}
#if defined(__GNUC__) #if defined(__GNUC__)
// This also works and will be defined for any compiler implementing gcc // This also works and will be defined for any compiler implementing GCC
// extensions, such as clang and icc. // extensions, such as Clang and ICC.
#define NOINLINE __attribute__((noinline)) #define NOINLINE __attribute__((noinline))
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
#define NOINLINE __declspec(noinline) #define NOINLINE __declspec(noinline)
@ -48,7 +48,7 @@ BOOST_AUTO_TEST_SUITE(bignum_tests)
// that -ftrapv will detect overflows. // that -ftrapv will detect overflows.
NOINLINE void mysetint64(CBigNum& num, int64 n) 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 // For each number, we do 2 tests: one with inline code, then we reset the

2
src/util.h

@ -12,7 +12,7 @@
#include <sys/time.h> #include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
#else #else
typedef int pid_t; /* define for windows compatibility */ typedef int pid_t; /* define for Windows compatibility */
#endif #endif
#include <map> #include <map>
#include <vector> #include <vector>

Loading…
Cancel
Save