Commit 0fcb47f9 authored by nanahira's avatar nanahira

fix

parent 83ff3729
...@@ -261,7 +261,7 @@ bool Game::Initialize() { ...@@ -261,7 +261,7 @@ bool Game::Initialize() {
ebJoinHost->setTextAlignment(irr::gui::EGUIA_CENTER, irr::gui::EGUIA_CENTER); ebJoinHost->setTextAlignment(irr::gui::EGUIA_CENTER, irr::gui::EGUIA_CENTER);
wchar_t lastPortText[6]; wchar_t lastPortText[6];
if(gameConf.lastport) if(gameConf.lastport)
myswprintf(lastPortText, L"%d", gameConf.lastport); myswprintf(lastPortText, L"%ls", gameConf.lastport);
else else
myswprintf(lastPortText, L""); myswprintf(lastPortText, L"");
editbox_list.push_back(ebJoinHost); editbox_list.push_back(ebJoinHost);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment