summaryrefslogtreecommitdiff
path: root/src/server/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/client.cpp')
-rw-r--r--src/server/client.cpp2
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;
}