]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textfile.cpp
indent app name + version from the rest in about dialog; use i18n-friendly way of...
[wxWidgets.git] / src / common / textfile.cpp
index 2b7af13e1dc068c6dcd6e5cd1e176b0f842ac8c4..ef27836e890285a6a51871130e301263e37ff7ee 100644 (file)
@@ -98,7 +98,7 @@ bool wxTextFile::OnRead(const wxMBConv& conv)
     // read and so the conversion would fail) and, as the file contents is kept
     // in memory by wxTextFile anyhow, it shouldn't be a big problem to read
     // the file entirely
-    size_t bufSize,
+    size_t bufSize = 0,
            bufPos = 0;
     char block[1024];
     wxCharBuffer buf;