bug fixes
This commit is contained in:
parent
2bfcda3b50
commit
36c6689c7a
|
@ -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) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue