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
dcda98fb
Commit
dcda98fb
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: remove an inconsistent space from two pointer declarations
Reported-by:
Brand Huntsman
<
alpha@qzx.com
>
parent
336fa400
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/browser.c
+1
-1
src/browser.c
src/text.c
+1
-1
src/text.c
with
2 additions
and
2 deletions
+2
-2
src/browser.c
View file @
dcda98fb
...
...
@@ -361,7 +361,7 @@ char *do_browse_from(const char *inpath)
path
=
free_and_assign
(
path
,
strip_last_component
(
path
));
if
(
stat
(
path
,
&
st
)
==
-
1
||
!
S_ISDIR
(
st
.
st_mode
))
{
char
*
currentdir
=
charalloc
(
PATH_MAX
+
1
);
char
*
currentdir
=
charalloc
(
PATH_MAX
+
1
);
free
(
path
);
path
=
getcwd
(
currentdir
,
PATH_MAX
+
1
);
...
...
This diff is collapsed.
Click to expand it.
src/text.c
View file @
dcda98fb
...
...
@@ -1506,7 +1506,7 @@ bool do_wrap(filestruct *line)
/* The length of the remainder. */
size_t
old_x
=
openfile
->
current_x
;
filestruct
*
old_line
=
openfile
->
current
;
filestruct
*
old_line
=
openfile
->
current
;
/* There are three steps. First, we decide where to wrap. Then, we
* create the new wrap line. Finally, we clean up. */
...
...
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