Skip to content

Commit 242aeea

Browse files
authored
Fix default skin error on launching MTA
1 parent 2c522d9 commit 242aeea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vendor/cegui-0.4.0-custom/src/tinyxml/tinystr.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@ void TiXmlString::append( const char* str, int len )
181181
{
182182
// we know we can safely append the new string
183183
// strncat (cstring, str, len);
184-
unsigned old_length = current_length;
185-
current_length = new_size - 1;
186-
memcpy (cstring + old_length,
184+
unsigned old_length = current_length;
185+
memcpy (cstring + old_length,
187186
str,
188187
size_suffix);
189-
cstring [current_length] = 0;
190188
}
189+
current_length = new_size - 1;
190+
cstring[current_length] = 0;
191191
}
192192

193193

0 commit comments

Comments
 (0)