Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-03-28 10:48:55 +00:00
parent ecf418ad77
commit 39987096b3

View File

@@ -135,6 +135,7 @@ bool wxTextFile::OnRead(wxMBConv& conv)
str += strbuf;
#else // ANSI
wxUnusedVar(conv);
buf[nRead] = '\0';
str += buf;
#endif // wxUSE_UNICODE/!wxUSE_UNICODE