summaryrefslogtreecommitdiff
path: root/src/resize.c
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2010-05-10 23:18:36 -0400
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2010-05-10 23:18:36 -0400
commit2f565ead2d6cb059dba39da47a5cde105bd35125 (patch)
tree62434ad51ae7282c3324b8260dc7e4b167016d79 /src/resize.c
parent4f9101fc9d78581caef72a52cdd4767529912e1b (diff)
downloadscreen-2f565ead2d6cb059dba39da47a5cde105bd35125.tar.gz
Fix compiling with SIMPLESCREEN.
Diffstat (limited to 'src/resize.c')
-rw-r--r--src/resize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resize.c b/src/resize.c
index 61e044f..7516751 100644
--- a/src/resize.c
+++ b/src/resize.c
@@ -1048,8 +1048,8 @@ struct win *p;
}
p->w_alt.hlines = 0;
p->w_alt.histidx = 0;
-#endif
p->w_alt.histheight = 0;
+#endif
}
static void
@@ -1064,9 +1064,9 @@ struct win *p;
SWAP(mlines, ml);
SWAP(width, t);
SWAP(height, t);
- SWAP(histheight, t);
#ifdef COPY_PASTE
+ SWAP(histheight, t);
SWAP(hlines, ml);
SWAP(histidx, t);
#endif