From 0f22f0178cdfd27e2bac47388fb710023d9f4494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Wed, 5 Aug 2020 20:17:56 -0300 Subject: Fix line lengths not sent properly --- src/client/jetc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/jetc.cpp') diff --git a/src/client/jetc.cpp b/src/client/jetc.cpp index 94d59ac..8a0963d 100644 --- a/src/client/jetc.cpp +++ b/src/client/jetc.cpp @@ -20,7 +20,7 @@ void update() { msg.encode2(window.height); io.send(msg); io.recv(window.view, window.width * window.height); - io.recv(window.line_ends, window.height); + io.recv(window.line_ends, window.height * sizeof(int)); window.update(); cursor.update(); -- cgit v1.2.3