replaced occurences of \_ by _ in verbatim environment

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2000-01-01 11:50:11 +00:00
parent d59efe01ea
commit 70be2567de

View File

@ -192,21 +192,21 @@ can send new commands without reconnecting.
\begin{verbatim} \begin{verbatim}
wxFTP ftp; wxFTP ftp;
wxInputStream *in\_stream; wxInputStream *in_stream;
char *data; char *data;
ftp.Connect("a.host.domain"); ftp.Connect("a.host.domain");
ftp.ChDir("a\_directory"); ftp.ChDir("a_directory");
in\_stream = ftp.GetInputStream("a\_file\_to\_get"); in_stream = ftp.GetInputStream("a_file_to_get");
data = new char[in\_stream->StreamSize()]; data = new char[in_stream->StreamSize()];
in\_stream->Read(data, in\_stream->StreamSize()); in_stream->Read(data, in_stream->StreamSize());
if (in\_stream->LastError() != wxStream\_NOERROR) { if (in_stream->LastError() != wxStream_NOERROR) {
// Do something. // Do something.
} }
delete in\_stream; /* Close the DATA connection */ delete in_stream; /* Close the DATA connection */
ftp.Close(); /* Close the COMMAND connection */ ftp.Close(); /* Close the COMMAND connection */
\end{verbatim} \end{verbatim}