mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Android chat empty after : fix
This commit is contained in:
1 parent
766373e159
commit
6b39018868
2 files changed
+11
-3
No files matched your search
+10
-2
@@ -858,8 +858,16 @@ void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
g_Config.proAdhocServer = setString;
|
||||
if (inputboxValue[0] == "nickname")
|
||||
g_Config.sNickName = setString;
|
||||
if (inputboxValue[0] == "Chat")
|
||||
sendChat(setString);
|
||||
if (inputboxValue[0] == "Chat") {
|
||||
if (inputboxValue.size() > 2)
|
||||
{
|
||||
std::string chatString = value;
|
||||
chatString.erase(0, 5);
|
||||
sendChat(chatString);
|
||||
} else {
|
||||
sendChat(setString);
|
||||
}
|
||||
}
|
||||
inputboxValue.clear();
|
||||
}
|
||||
if (msg == "bgImage_updated") {
|
||||
|
||||
Reference in new issue
Block a user