Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 09:16:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 09:17:13 +0300
commit108045faa01849115c54190ebed788faf36dcb56 (patch)
tree64d024b47b0dcb6850108377c55e96917645efe5 /intern/string
parent3076d95ba441cd32706a27d18922a30f8fd28b8a (diff)
ClangFormat: format '#if 0' code in intern/
Diffstat (limited to 'intern/string')
-rw-r--r--intern/string/intern/STR_String.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/string/intern/STR_String.cpp b/intern/string/intern/STR_String.cpp
index b2134550ea9..bc95e96180a 100644
--- a/intern/string/intern/STR_String.cpp
+++ b/intern/string/intern/STR_String.cpp
@@ -615,15 +615,15 @@ std::vector<STR_String> STR_String::Explode(char c) const
#if 0
-int STR_String::Serialize(pCStream stream)
+int STR_String::Serialize(pCStream stream)
{
if (stream->GetAccess() == CStream::Access_Read) {
int ln;
stream->Read(&ln, sizeof(ln));
AllocBuffer(ln, false);
stream->Read(this->m_data, ln);
- this->m_data[ln] = '\0';
- this->m_len = ln;
+ this->m_data[ln] = '\0';
+ this->m_len = ln;
}
else {
stream->Write(&this->m_len, sizeof(this->m_len));