aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Util.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-12-18 13:41:30 -0800
committermaximius <none@none>2009-12-18 13:41:30 -0800
commitdc1207139ac3a6bccd918ddb5d291df98ac1cf33 (patch)
treefc13f86b6c09f449ccc319c3d321f1e87dafa8d6 /src/shared/Util.h
parent89464472a97fcba60e4ad7682a44f8106cc64ecd (diff)
*Cleanup, proper indentation, and remove some wrong/irrelevant comments copied from custom patches..
--HG-- branch : trunk
Diffstat (limited to 'src/shared/Util.h')
-rw-r--r--src/shared/Util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/Util.h b/src/shared/Util.h
index a8b9df8f29a..eb59392497e 100644
--- a/src/shared/Util.h
+++ b/src/shared/Util.h
@@ -348,7 +348,7 @@ public:
template<class type>
inline bool operator < (type & right)
{
- for (uint8 i=3; i>0; i--)
+ for (uint8 i=3; i > 0; --i)
{
if (part[i-1]<right.part[i-1])
return 1;
@@ -361,7 +361,7 @@ public:
template<class type>
inline bool operator < (type & right) const
{
- for (uint8 i=3; i>0; i--)
+ for (uint8 i = 3; i > 0; --i)
{
if (part[i-1]<right.part[i-1])
return 1;