tweaks: reshuffle two declarations

master
Benno Schulenberg 2018-04-01 19:53:51 +02:00
parent 8965103a4d
commit 152cc24d1f
2 changed files with 6 additions and 8 deletions

View File

@ -46,11 +46,6 @@ bool focusing = TRUE;
bool as_an_at = TRUE;
/* Whether a 0x0A byte should be shown as a ^@ instead of a ^J. */
int margin = 0;
/* The amount of space reserved at the left for line numbers. */
int editwincols = -1;
/* The number of usable columns in the edit window: COLS - margin. */
bool suppress_cursorpos = FALSE;
/* Should we skip constant position display for current keystroke? */
@ -110,6 +105,10 @@ WINDOW *bottomwin = NULL;
* messages, the statusbar prompt, and a list of shortcuts. */
int editwinrows = 0;
/* How many rows does the edit window take up? */
int editwincols = -1;
/* The number of usable columns in the edit window: COLS - margin. */
int margin = 0;
/* The amount of space reserved at the left for line numbers. */
filestruct *cutbuffer = NULL;
/* The buffer where we store cut text. */

View File

@ -40,9 +40,6 @@ extern bool focusing;
extern bool as_an_at;
extern int margin;
extern int editwincols;
extern bool suppress_cursorpos;
extern message_type lastmessage;
@ -95,6 +92,8 @@ extern WINDOW *topwin;
extern WINDOW *edit;
extern WINDOW *bottomwin;
extern int editwinrows;
extern int editwincols;
extern int margin;
extern filestruct *cutbuffer;
extern filestruct *cutbottom;