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
16954633
Commit
16954633
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: correct two conditions for conditional compilation
parent
f46544f6
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/nano.h
+1
-1
src/nano.h
src/proto.h
+1
-1
src/proto.h
with
2 additions
and
2 deletions
+2
-2
src/nano.h
View file @
16954633
...
...
@@ -164,7 +164,7 @@ typedef enum {
#ifndef DISABLE_WRAPPING
SPLIT_BEGIN
,
SPLIT_END
,
#endif
#if
n
def
DIS
ABLE_COMMENT
#ifdef
EN
ABLE_COMMENT
COMMENT
,
UNCOMMENT
,
PREFLIGHT
,
#endif
JOIN
,
PASTE
,
INSERT
,
ENTER
,
OTHER
...
...
This diff is collapsed.
Click to expand it.
src/proto.h
View file @
16954633
...
...
@@ -540,7 +540,7 @@ RETSIGTYPE cancel_command(int signal);
bool
execute_command
(
const
char
*
command
);
void
discard_until
(
const
undo
*
thisitem
,
openfilestruct
*
thefile
);
void
add_undo
(
undo_type
action
);
#if
n
def
DIS
ABLE_COMMENT
#ifdef
EN
ABLE_COMMENT
void
update_comment_undo
(
ssize_t
lineno
);
#endif
void
update_undo
(
undo_type
action
);
...
...
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