Motif and other mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -158,12 +158,12 @@ bool wxFTP::GetResult(char exp)
|
||||
{
|
||||
if ((m_lastError = GetLine(this, m_lastResult)))
|
||||
return FALSE;
|
||||
if (m_lastResult[0] != exp) {
|
||||
if (m_lastResult.GetChar(0) != exp) {
|
||||
m_lastError = wxPROTO_PROTERR;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (m_lastResult[3] == '-') {
|
||||
if (m_lastResult.GetChar(3) == '-') {
|
||||
wxString key = m_lastResult.Left((size_t)3);
|
||||
|
||||
key += ' ';
|
||||
|
Reference in New Issue
Block a user