summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/window.h b/src/window.h
index 1f70f39..7311ecb 100644
--- a/src/window.h
+++ b/src/window.h
@@ -283,12 +283,14 @@ struct win
struct mline *mlines;
int width;
int height;
- int histheight;
#ifdef COPY_PASTE
+ int histheight;
struct mline *hlines;
int histidx;
- struct cursor cursor;
+#else
+ int histheight; /* 0 */
#endif
+ struct cursor cursor;
} w_alt;
struct event w_destroyev; /* window destroy event */