X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2FguiPasswordChange.cpp;h=e2f9994be29cf0fe9926dc9350e616e1ea3a22e7;hb=ad4bf2ccf966ac21b94f1778a017ac98f8957ab6;hp=1c1a1f06e7c47c437b976cd73e63b253a3ecb2fe;hpb=f0a1379e5a9ebc954e95d07c1ad5d71587adc6bc;p=minetest.git diff --git a/src/guiPasswordChange.cpp b/src/guiPasswordChange.cpp index 1c1a1f06e..e2f9994be 100644 --- a/src/guiPasswordChange.cpp +++ b/src/guiPasswordChange.cpp @@ -203,8 +203,8 @@ bool GUIPasswordChange::acceptInput() e->setVisible(true); return false; } - m_client->sendChangePassword(wide_to_narrow(oldpass), - wide_to_narrow(newpass)); + m_client->sendChangePassword(wide_to_utf8(oldpass), + wide_to_utf8(newpass)); return true; }