tweaks: adjust two comments, to be more accurate

master
Benno Schulenberg 2017-02-17 19:59:34 +01:00
parent f773d715e8
commit 330741b650
1 changed files with 3 additions and 3 deletions

View File

@ -738,12 +738,12 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable,
/* The number of lines in the file. */ /* The number of lines in the file. */
size_t len = 0; size_t len = 0;
/* The length of the current line of the file. */ /* 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'; char input = '\0';
/* The current input character. */ /* The current input character. */
char *buf; 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; filestruct *fileptr = openfile->current->prev;
/* The line after which to start inserting. */ /* The line after which to start inserting. */
int input_int; int input_int;