Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
152cc24d
Commit
152cc24d
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: reshuffle two declarations
parent
8965103a
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/global.c
+4
-5
src/global.c
src/proto.h
+2
-3
src/proto.h
with
6 additions
and
8 deletions
+6
-8
src/global.c
View file @
152cc24d
...
...
@@ -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. */
...
...
This diff is collapsed.
Click to expand it.
src/proto.h
View file @
152cc24d
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help