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
330741b6
Commit
330741b6
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: adjust two comments, to be more accurate
parent
f773d715
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
+3
-3
src/files.c
with
3 additions
and
3 deletions
+3
-3
src/files.c
View file @
330741b6
...
...
@@ -738,12 +738,12 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable,
/* The number of lines in the file. */
size_t
len
=
0
;
/* The length of the current line of the file. */
size_t
bufx
=
MAX_BUF_SIZE
;
/* The size of each chunk of the file that we read. */
char
input
=
'\0'
;
/* The current input character. */
char
*
buf
;
/* The buffer where we store chunks of the file. */
/* The buffer in which we assemble each line of the file. */
size_t
bufx
=
MAX_BUF_SIZE
;
/* The allocated size of the line buffer; increased as needed. */
filestruct
*
fileptr
=
openfile
->
current
->
prev
;
/* The line after which to start inserting. */
int
input_int
;
...
...
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