summaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-10 00:31:47 +0000
committerrubidium <rubidium@openttd.org>2009-01-10 00:31:47 +0000
commit11da45ee55957c243854cd78705d81543541c061 (patch)
tree29e703244d28f29c8634b2d30f42b34852fe74bc /src/string.cpp
parentc3839648f75ebfdca2f7d95b7d6a2b29445ab1c2 (diff)
downloadopenttd-11da45ee55957c243854cd78705d81543541c061.tar.xz
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.cpp b/src/string.cpp
index e9338e922..016a4990f 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -53,7 +53,7 @@ void ttd_strlcpy(char *dst, const char *src, size_t size)
}
-char* strecat(char* dst, const char* src, const char* last)
+char *strecat(char *dst, const char *src, const char *last)
{
assert(dst <= last);
while (*dst != '\0') {
@@ -65,7 +65,7 @@ char* strecat(char* dst, const char* src, const char* last)
}
-char* strecpy(char* dst, const char* src, const char* last)
+char *strecpy(char *dst, const char *src, const char *last)
{
assert(dst <= last);
while (dst != last && *src != '\0') {