]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ffile.cpp
remove unused private member m_ordered from wxDataViewVirtualListModel
[wxWidgets.git] / src / common / ffile.cpp
index ae196692041bcc9726fc2c5f530a178e5e394841..1d55267348124b85e4edd84dfdc874d194e9b1c9 100644 (file)
@@ -102,7 +102,7 @@ bool wxFFile::ReadAll(wxString *str, const wxMBConv& conv)
 
     clearerr(m_fp);
 
-    wxCharBuffer buf(length + 1);
+    wxCharBuffer buf(length);
 
     // note that real length may be less than file length for text files with DOS EOLs
     // ('\r's get dropped by CRT when reading which means that we have