aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-25 01:39:44 +0000
committerJohannes Schickel2010-01-25 01:39:44 +0000
commitaed02365ec81e77b3c8aa4f4ecd9a9d3893326f2 (patch)
tree95f119e687a666f65aad5041910c43bdfd4f2929 /common
parentec14cd6e6add76ce4f719edd7ce508d67ebd9f14 (diff)
downloadscummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.gz
scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.tar.bz2
scummvm-rg350-aed02365ec81e77b3c8aa4f4ecd9a9d3893326f2.zip
Strip trailing spaces/tabs.
svn-id: r47541
Diffstat (limited to 'common')
-rw-r--r--common/endian.h10
-rw-r--r--common/hashmap.h2
-rw-r--r--common/macresman.cpp2
-rw-r--r--common/system.h12
4 files changed, 13 insertions, 13 deletions
diff --git a/common/endian.h b/common/endian.h
index badf57b1dc..db47ff2d07 100644
--- a/common/endian.h
+++ b/common/endian.h
@@ -44,7 +44,7 @@
* FROM_??_??(a) - convert LE/BE value v to native
* CONSTANT_??_??(a) - convert LE/BE value v to native, implemented as macro.
* Use with compiletime-constants only, the result will be a compiletime-constant aswell.
- * Unlike most other functions these can be used for eg. switch-case labels
+ * Unlike most other functions these can be used for eg. switch-case labels
*/
// Sanity check
@@ -103,7 +103,7 @@
}
// generic fallback
-#else
+#else
inline uint32 SWAP_BYTES_32(uint32 a) {
const uint16 low = (uint16)a, high = (uint16)(a >> 16);
@@ -184,7 +184,7 @@
*(uint32 *)(ptr) = value;
}
-// test for GCC >= 4.0. these implementations will automatically use CPU-specific
+// test for GCC >= 4.0. these implementations will automatically use CPU-specific
// instructions for unaligned data when they are available (eg. MIPS)
#elif defined(__GNUC__) && (__GNUC__ >= 4)
@@ -326,7 +326,7 @@
inline void WRITE_BE_UINT32(void *ptr, uint32 value) {
WRITE_UINT32(ptr, SWAP_BYTES_32(value));
}
-
+
# endif // if defined(SCUMM_NEED_ALIGNMENT)
#elif defined(SCUMM_BIG_ENDIAN)
@@ -394,7 +394,7 @@
inline void WRITE_LE_UINT32(void *ptr, uint32 value) {
WRITE_UINT32(ptr, SWAP_BYTES_32(value));
}
-
+
# endif // if defined(SCUMM_NEED_ALIGNMENT)
#endif // if defined(SCUMM_LITTLE_ENDIAN)
diff --git a/common/hashmap.h b/common/hashmap.h
index a48092a4a2..c32d275a7c 100644
--- a/common/hashmap.h
+++ b/common/hashmap.h
@@ -40,7 +40,7 @@
namespace Common {
-// The sgi IRIX MIPSpro Compiler has difficulties with nested templates.
+// The sgi IRIX MIPSpro Compiler has difficulties with nested templates.
// This and the other __sgi conditionals below work around these problems.
#ifdef __sgi
template<class T> class IteratorImpl;
diff --git a/common/macresman.cpp b/common/macresman.cpp
index af9d89268a..ca5fe0cfd8 100644
--- a/common/macresman.cpp
+++ b/common/macresman.cpp
@@ -132,7 +132,7 @@ MacResIDArray MacResManager::getResIDArray(const char *typeID) {
if (typeNum == -1)
return res;
-
+
res.resize(_resTypes[typeNum].items);
for (int i = 0; i < _resTypes[typeNum].items; i++)
diff --git a/common/system.h b/common/system.h
index 5139a16862..1fb7a0d06a 100644
--- a/common/system.h
+++ b/common/system.h
@@ -374,11 +374,11 @@ public:
virtual Graphics::PixelFormat getScreenFormat() const = 0;
/**
- * Returns a list of all pixel formats supported by the backend.
- * The first item in the list must be directly supported by hardware,
- * and provide the largest color space of those formats with direct
- * hardware support. It is also strongly recommended that remaining
- * formats should be placed in order of descending preference for the
+ * Returns a list of all pixel formats supported by the backend.
+ * The first item in the list must be directly supported by hardware,
+ * and provide the largest color space of those formats with direct
+ * hardware support. It is also strongly recommended that remaining
+ * formats should be placed in order of descending preference for the
* backend to use.
*
* EG: a backend that supports 32-bit ABGR and 16-bit 555 BGR in hardware
@@ -391,7 +391,7 @@ public:
*
* @see Graphics::PixelFormat
*
- * @note Backends supporting RGB color should accept game data in RGB color
+ * @note Backends supporting RGB color should accept game data in RGB color
* order, even if hardware uses BGR or some other color order.
*/
virtual Common::List<Graphics::PixelFormat> getSupportedFormats() = 0;