Fix issue when displaying online users in the Windows GUI

This commit is contained in:
RElesgoe 2017-01-17 10:38:38 -08:00
parent e2fb7975c0
commit 026751e2cf

View file

@ -596,7 +596,7 @@ namespace pvpgn
if (!(acc = conn_get_account(c)))
continue;
SendMessageW(gui.hwndUsers, LB_ADDSTRING, 0, reinterpret_cast<LPARAM>(account_get_name(acc)));
SendMessageA(gui.hwndUsers, LB_ADDSTRING, 0, reinterpret_cast<LPARAM>(account_get_name(acc)));
}
std::wstring user_count(std::to_wstring(connlist_login_get_length()) + L" user(s) online:");