summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-10-30 17:51:07 +0000
committeralberth <alberth@openttd.org>2010-10-30 17:51:07 +0000
commit7e48d85104549cbb3604aa7eb262b922dbc3f640 (patch)
tree0afba23f2fce7664320853c8deaaf293b8363e16 /src/misc
parentca8d55ebcd368998aac4a46f8697a5c4585df66d (diff)
downloadopenttd-7e48d85104549cbb3604aa7eb262b922dbc3f640.tar.xz
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/blob.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc/blob.hpp b/src/misc/blob.hpp
index ff9cebd67..c3ae103d6 100644
--- a/src/misc/blob.hpp
+++ b/src/misc/blob.hpp
@@ -41,10 +41,10 @@
* which is good for performance (assuming that data are accessed most often).
* - sizeof(blob) is the same as the size of any other pointer
* 6. Drawbacks of this layout:
- * - the fact, that pointer to the alocated block is adjusted by sizeof(BlobHeader) before
+ * - the fact that a pointer to the allocated block is adjusted by sizeof(BlobHeader) before
* it is stored can lead to several confusions:
- * - it is not common pattern so the implementation code is bit harder to read
- * - valgrind can generate warning that allocated block is lost (not accessible)
+ * - it is not a common pattern so the implementation code is bit harder to read.
+ * - valgrind may generate a warning that the allocated block is lost (not accessible).
*/
class ByteBlob {
protected: