diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-09 14:56:31 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-09 14:56:31 -0300 |
commit | e32686c10a4f4fe7c34b181845220b5c491f32fb (patch) | |
tree | c090052c311a3a1732d03dc17fe357f97437b397 /lout/misc.cc | |
parent | 74f64426001a693759e47963f99965e0e6ee847d (diff) |
whitespace cleanup: 's/ +$//g'
Diffstat (limited to 'lout/misc.cc')
-rw-r--r-- | lout/misc.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lout/misc.cc b/lout/misc.cc index 435fe8be..2e4dfaf5 100644 --- a/lout/misc.cc +++ b/lout/misc.cc @@ -154,7 +154,7 @@ const char *StringBuffer::getChars() memcpy(p, node->data, l * sizeof(char)); p += l; } - + *p = 0; strValid = true; return str; @@ -183,7 +183,7 @@ void StringBuffer::clear () BitSet::BitSet(int initBits) { - numBytes = bytesForBits(initBits); + numBytes = bytesForBits(initBits); bits = (unsigned char*)malloc(numBytes * sizeof(unsigned char)); clear(); } @@ -220,7 +220,7 @@ void BitSet::set(int i, bool val) memset(bits + numBytes, 0, newNumBytes - numBytes); numBytes = newNumBytes; } - + if (val) bits[i / 8] |= (1 << (i % 8)); else |