aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Util.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-17 16:20:24 -0700
committermaximius <none@none>2009-10-17 16:20:24 -0700
commit3f338cc1c328c7280957583b50598292cd8fb64b (patch)
treeca209c2cd024e3902b7844b3224bceff7c5bb570 /src/shared/Util.h
parente585187b248f48b3c6e9247b49fa07c6565d65e5 (diff)
*Massive cleanup redux.
--HG-- branch : trunk
Diffstat (limited to 'src/shared/Util.h')
-rw-r--r--src/shared/Util.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/shared/Util.h b/src/shared/Util.h
index 04be6e93bed..a8b9df8f29a 100644
--- a/src/shared/Util.h
+++ b/src/shared/Util.h
@@ -189,7 +189,7 @@ inline bool isNumericOrSpace(wchar_t wchar)
inline bool isBasicLatinString(std::wstring wstr, bool numericOrSpace)
{
- for(size_t i = 0; i < wstr.size(); ++i)
+ for (size_t i = 0; i < wstr.size(); ++i)
if(!isBasicLatinCharacter(wstr[i]) && (!numericOrSpace || !isNumericOrSpace(wstr[i])))
return false;
return true;
@@ -197,7 +197,7 @@ inline bool isBasicLatinString(std::wstring wstr, bool numericOrSpace)
inline bool isExtendedLatinString(std::wstring wstr, bool numericOrSpace)
{
- for(size_t i = 0; i < wstr.size(); ++i)
+ for (size_t i = 0; i < wstr.size(); ++i)
if(!isExtendedLatinCharacter(wstr[i]) && (!numericOrSpace || !isNumericOrSpace(wstr[i])))
return false;
return true;
@@ -205,7 +205,7 @@ inline bool isExtendedLatinString(std::wstring wstr, bool numericOrSpace)
inline bool isCyrillicString(std::wstring wstr, bool numericOrSpace)
{
- for(size_t i = 0; i < wstr.size(); ++i)
+ for (size_t i = 0; i < wstr.size(); ++i)
if(!isCyrillicCharacter(wstr[i]) && (!numericOrSpace || !isNumericOrSpace(wstr[i])))
return false;
return true;
@@ -213,7 +213,7 @@ inline bool isCyrillicString(std::wstring wstr, bool numericOrSpace)
inline bool isEastAsianString(std::wstring wstr, bool numericOrSpace)
{
- for(size_t i = 0; i < wstr.size(); ++i)
+ for (size_t i = 0; i < wstr.size(); ++i)
if(!isEastAsianCharacter(wstr[i]) && (!numericOrSpace || !isNumericOrSpace(wstr[i])))
return false;
return true;
@@ -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;