Commit 152cc24d authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: reshuffle two declarations

No related merge requests found
Showing with 6 additions and 8 deletions
+6 -8
......@@ -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. */
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment