summaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-06-27 09:05:10 +0000
committeralberth <alberth@openttd.org>2010-06-27 09:05:10 +0000
commit604e56adc2092d31c02f16b8412d550f7986557c (patch)
treeeb4fc60536488e1ce18a774eba7978abbbfc60e3 /src/string.cpp
parentb3a707ae4b39ff832236dfcb786fbe3461ce0e1b (diff)
downloadopenttd-604e56adc2092d31c02f16b8412d550f7986557c.tar.xz
(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/string.cpp b/src/string.cpp
index 4ed2da129..79bf72c2d 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -300,7 +300,8 @@ char *md5sumToString(char *buf, const char *last, const uint8 md5sum[16])
/* UTF-8 handling routines */
-/* Decode and consume the next UTF-8 encoded character
+/**
+ * Decode and consume the next UTF-8 encoded character.
* @param c Buffer to place decoded character.
* @param s Character stream to retrieve character from.
* @return Number of characters in the sequence.
@@ -339,7 +340,8 @@ size_t Utf8Decode(WChar *c, const char *s)
}
-/* Encode a unicode character and place it in the buffer
+/**
+ * Encode a unicode character and place it in the buffer.
* @param buf Buffer to place character.
* @param c Unicode character to encode.
* @return Number of characters in the encoded sequence.