]> git.tdb.fi Git - libs/core.git/blobdiff - source/utils.cpp
Style update: spaces around assignments
[libs/core.git] / source / utils.cpp
index 8ce5bf327edb21b76a1f5874cb3dcb28c3a314f5..1905fe0cf2254594f5e06d7abd8271877a087766 100644 (file)
@@ -12,9 +12,9 @@ namespace IO {
 
 unsigned read_all(Base &obj, char *buf, unsigned size)
 {
-       unsigned pos=0;
+       unsigned pos = 0;
        while(pos<size)
-               pos+=obj.read(buf+pos, size-pos);
+               pos += obj.read(buf+pos, size-pos);
 
        return pos;
 }