summaryrefslogtreecommitdiff
path: root/src/misc/str.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-19 20:08:40 +0000
committeryexo <yexo@openttd.org>2010-03-19 20:08:40 +0000
commite70bfdf789ba5ac46241239e8129d87d3ab79a8b (patch)
tree24d8b8b35c27c5ef2bdd8cdd4316b290b29ff779 /src/misc/str.hpp
parent6f1a0f890bc1d8adb94a140122b3c7abc622975b (diff)
downloadopenttd-e70bfdf789ba5ac46241239e8129d87d3ab79a8b.tar.xz
(svn r19471) -Codechange: rename ByteBlob methods to fit common style (skidd13)
Diffstat (limited to 'src/misc/str.hpp')
-rw-r--r--src/misc/str.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/str.hpp b/src/misc/str.hpp
index 9b5b53a8a..c0388852b 100644
--- a/src/misc/str.hpp
+++ b/src/misc/str.hpp
@@ -51,7 +51,7 @@ struct CStrA : public CBlobT<char>
FORCEINLINE void AppendStr(const char *str)
{
if (!StrEmpty(str)) {
- base::Append(str, strlen(str));
+ base::AppendRaw(str, strlen(str));
base::FixTail();
}
}
@@ -69,7 +69,7 @@ struct CStrA : public CBlobT<char>
{
if (&src != this) {
base::Clear();
- base::AppendRaw(src);
+ base::AppendRaw(src.Data(), src.Size());
base::FixTail();
}
return *this;