bug fixes

This commit is contained in:
Dander7BD 2014-02-14 11:37:20 +01:00
parent 2bfcda3b50
commit 36c6689c7a
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ namespace DanBias { namespace Client
split.reserve( 10 ); split.reserve( 10 );
::Utility::String::Split( split, text, L"\n", 0 ); ::Utility::String::Split( split, text, L"\n", 0 );
auto line = split.begin(); auto line = split.begin();
for( ; line != split.end; ++line ) for( ; line != split.end(); ++line )
{ {
this->lines.push_back( (*line) ); this->lines.push_back( (*line) );
} }

View File

@ -62,7 +62,7 @@ bool LanMenuState::Init(Network::NetworkClient* nwClient)
this->privData->connectIP = new TextField<LanMenuState*>( L"earth_md.png", Float3(1.0f), this, Float3(0.1f, 0.2f, 0.5f), Float2(0.45f, 0.1f), ResizeAspectRatio_Width ); this->privData->connectIP = new TextField<LanMenuState*>( L"earth_md.png", Float3(1.0f), this, Float3(0.1f, 0.2f, 0.5f), Float2(0.45f, 0.1f), ResizeAspectRatio_Width );
this->privData->connectIP->ReserveLines( 1 ); this->privData->connectIP->ReserveLines( 1 );
(*this->privData->connectIP)[0] = L"127.0.0.1"; this->privData->connectIP->AppendText( L"127.0.0.1" );
this->privData->connectIP->SetTextHeight( 0.1f ); this->privData->connectIP->SetTextHeight( 0.1f );
this->privData->connectIP->SetLineSpacing( 0.0f ); this->privData->connectIP->SetLineSpacing( 0.0f );