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
1228b2c0
Commit
1228b2c0
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: rename a variable, to indicate what it contains
parent
d6a04b8a
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/files.c
+6
-8
src/files.c
with
6 additions
and
8 deletions
+6
-8
src/files.c
View file @
1228b2c0
...
...
@@ -1172,19 +1172,17 @@ void do_insertfile(
#ifndef DISABLE_BROWSER
if
(
func
==
to_files_void
)
{
char
*
tmp
=
do_browse_from
(
answer
);
char
*
chosen
=
do_browse_from
(
answer
);
if
(
tmp
==
NULL
)
if
(
chosen
==
NULL
)
continue
;
/* We have a file now. Indicate this. */
free
(
answer
);
answer
=
tmp
;
answer
=
chosen
;
i
=
0
;
}
#endif
/* If we don't have a file yet, go back to the statusbar prompt. */
if
(
i
!=
0
#ifndef DISABLE_MULTIBUFFER
...
...
@@ -2328,14 +2326,14 @@ int do_writeout(bool exiting)
#ifndef DISABLE_BROWSER
if
(
func
==
to_files_void
)
{
char
*
tmp
=
do_browse_from
(
answer
);
char
*
chosen
=
do_browse_from
(
answer
);
if
(
tmp
==
NULL
)
if
(
chosen
==
NULL
)
continue
;
/* We have a file now. Indicate this. */
free
(
answer
);
answer
=
tmp
;
answer
=
chosen
;
}
else
#endif
/* !DISABLE_BROWSER */
#ifndef NANO_TINY
...
...
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