We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c522d9 commit 242aeeaCopy full SHA for 242aeea
vendor/cegui-0.4.0-custom/src/tinyxml/tinystr.cpp
@@ -181,13 +181,13 @@ void TiXmlString::append( const char* str, int len )
181
{
182
// we know we can safely append the new string
183
// strncat (cstring, str, len);
184
- unsigned old_length = current_length;
185
- current_length = new_size - 1;
186
- memcpy (cstring + old_length,
+ unsigned old_length = current_length;
+ memcpy (cstring + old_length,
187
str,
188
size_suffix);
189
- cstring [current_length] = 0;
190
}
+ current_length = new_size - 1;
+ cstring[current_length] = 0;
191
192
193
0 commit comments