mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-02-16 20:33:26 +02:00
Fix compiling with SIMPLESCREEN.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user