diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-08-05 20:17:56 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-08-05 20:17:56 -0300 |
commit | 0f22f0178cdfd27e2bac47388fb710023d9f4494 (patch) | |
tree | 2fa2626276e1c709676cacd1dc2529070b561045 /src/client/jetc.cpp | |
parent | bebe98b46283bf21954f5f0a4923d3add45e4d5b (diff) | |
download | jet-0f22f0178cdfd27e2bac47388fb710023d9f4494.tar.gz jet-0f22f0178cdfd27e2bac47388fb710023d9f4494.zip |
Diffstat (limited to 'src/client/jetc.cpp')
-rw-r--r-- | src/client/jetc.cpp | 2 |
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(); |