summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-08-05 20:17:56 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-08-05 20:17:56 -0300
commit0f22f0178cdfd27e2bac47388fb710023d9f4494 (patch)
tree2fa2626276e1c709676cacd1dc2529070b561045 /src/client
parentbebe98b46283bf21954f5f0a4923d3add45e4d5b (diff)
downloadjet-master.tar.gz
jet-master.zip
Fix line lengths not sent properlyHEADmaster
Diffstat (limited to 'src/client')
-rw-r--r--src/client/jetc.cpp2
1 files changed, 1 insertions, 1 deletions
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();