diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-19 17:22:43 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-19 17:22:43 +0000 |
commit | badadc427a99e5483402c21bf5b7ae64722930e9 (patch) | |
tree | a0eb3f187458c32d8ca06dd78dce355e0166a2c2 /src/hashcomp.cpp | |
parent | 315b9f6fd9ccbd3a916dc206e2275c46b46da626 (diff) |
Visual studio's ability to translate tabs to four spaces as default frustrates and peplexes tabnazi cat.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7047 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r-- | src/hashcomp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index a0394b0f9..3ab91531f 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -138,15 +138,15 @@ int irc::irc_char_traits::compare(const char* str1, const char* str2, size_t n) for(unsigned int i = 0; i < n; i++) { if(lowermap[(unsigned char)*str1] > lowermap[(unsigned char)*str2]) - return 1; + return 1; if(lowermap[(unsigned char)*str1] < lowermap[(unsigned char)*str2]) - return -1; + return -1; if(*str1 == 0 || *str2 == 0) - return 0; + return 0; - str1++; + str1++; str2++; } return 0; @@ -484,7 +484,7 @@ irc::dynamicbitmask::~dynamicbitmask() /* Tidy up the entire used memory on delete */ delete[] bits; } - + irc::bitfield irc::dynamicbitmask::Allocate() { /* Yeah, this isnt too efficient, however a module or the core |