summaryrefslogtreecommitdiff
path: root/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client.cpp')
-rw-r--r--client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/client.cpp b/client.cpp
index 85289b6..05d07a1 100644
--- a/client.cpp
+++ b/client.cpp
@@ -1,3 +1,5 @@
+#include "point.cpp"
+
#define MAX_ARGS 16
#define pos(x, y) (x) + (y) * window_w
@@ -28,7 +30,7 @@ struct Client {
ArgList args;
Client(const Buffer &b) :
- cursor(b.storage, 0),
+ cursor(b),
window_start(cursor),
args(MAX_ARGS)
{}