Refactor around translatePassword
authorest31 <MTest31@outlook.com>
Fri, 17 Apr 2015 04:10:30 +0000 (06:10 +0200)
committerest31 <MTest31@outlook.com>
Fri, 17 Apr 2015 04:10:30 +0000 (06:10 +0200)
commitf0a1379e5a9ebc954e95d07c1ad5d71587adc6bc
tree38114d9be2e6bf1a0740035c41d5925c23f5036f
parent821d0025da3d7dec662e75c6ce2ea32e86aec508
Refactor around translatePassword

Change types for passed password from wstring to string, which removes converting
back and forth in most cases. Move the narrow_to_wide conversion, where its neccessary,
closer to irrlicht. Remove trailing spaces in guiPasswordChange.cpp. Make parameters for
translatePassword passed as const reference.
src/client.cpp
src/client.h
src/client/clientlauncher.cpp
src/guiPasswordChange.cpp
src/network/serverpackethandler.cpp
src/script/lua_api/l_util.cpp
src/util/string.cpp
src/util/string.h