Skip to content
GitLab
Menu
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
8eb99e2a
Commit
8eb99e2a
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: put similar things together
parent
19b6f906
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/prompt.c
+7
-7
src/prompt.c
with
7 additions
and
7 deletions
+7
-7
src/prompt.c
View file @
8eb99e2a
...
...
@@ -131,13 +131,6 @@ int do_statusbar_input(bool *ran_func, bool *finished,
else
if
(
s
->
scfunc
==
total_refresh
)
{
total_redraw
();
refresh_func
();
}
else
if
(
s
->
scfunc
==
do_cut_text_void
)
{
/* If we're using restricted mode, the filename
* isn't blank, and we're at the "Write File"
* prompt, disable Cut. */
if
(
!
ISSET
(
RESTRICTED
)
||
openfile
->
filename
[
0
]
==
'\0'
||
currmenu
!=
MWRITEFILE
)
do_statusbar_cut_text
();
}
else
if
(
s
->
scfunc
==
do_left
)
do_statusbar_left
();
else
if
(
s
->
scfunc
==
do_right
)
...
...
@@ -172,6 +165,13 @@ int do_statusbar_input(bool *ran_func, bool *finished,
*
finished
=
TRUE
;
}
}
}
else
if
(
s
->
scfunc
==
do_cut_text_void
)
{
/* If we're using restricted mode, the filename
* isn't blank, and we're at the "Write File"
* prompt, disable Cut. */
if
(
!
ISSET
(
RESTRICTED
)
||
openfile
->
filename
[
0
]
==
'\0'
||
currmenu
!=
MWRITEFILE
)
do_statusbar_cut_text
();
}
else
if
(
s
->
scfunc
==
do_delete
)
{
/* If we're using restricted mode, the filename
* isn't blank, and we're at the "Write File"
...
...
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