undo remove warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6377 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@@ -207,7 +207,7 @@ void CXMLWriter::writeText(const wchar_t* text)
|
||||
// Making a member-variable would work, but a lot of memory would stay around after writing.
|
||||
// So the correct solution is probably using fixed block here and always write when that is full.
|
||||
core::stringw s;
|
||||
s.reserve((u32)wcslen(text)+1);
|
||||
s.reserve(wcslen(text)+1);
|
||||
const wchar_t* p = text;
|
||||
|
||||
while(*p)
|
||||
@@ -424,7 +424,7 @@ void CXMLWriterUTF8::writeText(const c8* text)
|
||||
// Making a member-variable would work, but a lot of memory would stay around after writing.
|
||||
// So the correct solution is probably using fixed block here and always write when that is full.
|
||||
core::stringc s;
|
||||
s.reserve((u32)strlen(text)+1);
|
||||
s.reserve(strlen(text)+1);
|
||||
const c8* p = text;
|
||||
|
||||
while(*p)
|
||||
|
Reference in New Issue
Block a user