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/server/client.cpp | |
parent | bebe98b46283bf21954f5f0a4923d3add45e4d5b (diff) | |
download | jet-0f22f0178cdfd27e2bac47388fb710023d9f4494.tar.gz jet-0f22f0178cdfd27e2bac47388fb710023d9f4494.zip |
Diffstat (limited to 'src/server/client.cpp')
-rw-r--r-- | src/server/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/client.cpp b/src/server/client.cpp index 7932436..a2579ab 100644 --- a/src/server/client.cpp +++ b/src/server/client.cpp @@ -76,7 +76,7 @@ struct Client { } io.send(view, window_w * window_h); - io.send(line_ends, window_h); + io.send(line_ends, window_h * sizeof(int)); delete[] view; delete[] line_ends; } |