loolwsd/LOOLSession.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 40710223051dc0cf0de77d8343757d45a8ea1132 Author: Jan Holesovsky <ke...@collabora.com> Date: Thu Jun 25 17:03:18 2015 +0200 The payload format has changed, swap the parameters accondingly. diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp index 2c52b44..a568569 100644 --- a/loolwsd/LOOLSession.cpp +++ b/loolwsd/LOOLSession.cpp @@ -771,10 +771,10 @@ extern "C" StringTokenizer tokens(std::string(pPayload), " ", StringTokenizer::TOK_IGNORE_EMPTY | StringTokenizer::TOK_TRIM); if (tokens.count() == 4) { - int width(std::stoi(tokens[0])); - int height(std::stoi(tokens[1])); - int x(std::stoi(tokens[2])); - int y(std::stoi(tokens[3])); + int x(std::stoi(tokens[0])); + int y(std::stoi(tokens[1])); + int width(std::stoi(tokens[2])); + int height(std::stoi(tokens[3])); srv->sendTextFrame("invalidate:" " part=" + std::to_string(curPart) + " x=" + std::to_string(x) + _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits