diff --git a/src/cut.c b/src/cut.c index 6ceb799e..7cd2579d 100644 --- a/src/cut.c +++ b/src/cut.c @@ -207,7 +207,7 @@ void do_cut_text_void(void) * was moved, blow away previous contents of the cutbuffer. */ void do_copy_text(void) { - static struct filestruct *next_contiguous_line = NULL; + static filestruct *next_contiguous_line = NULL; bool mark_is_set = (openfile->mark != NULL); /* Remember the current viewport and cursor position. */ diff --git a/src/global.c b/src/global.c index 4a852fec..d8430517 100644 --- a/src/global.c +++ b/src/global.c @@ -1427,7 +1427,7 @@ const char *flagtostr(int flag) #ifdef ENABLE_NANORC /* Interpret a function string given in the rc file, and return a - * shortcut struct with the corresponding function filled in. */ + * shortcut record with the corresponding function filled in. */ sc *strtosc(const char *input) { sc *s = nmalloc(sizeof(sc)); diff --git a/src/nano.c b/src/nano.c index 0e7f4bab..e891f7b5 100644 --- a/src/nano.c +++ b/src/nano.c @@ -476,7 +476,7 @@ void ingraft_buffer(filestruct *somebuffer) #endif /* If we pasted onto the first line of the edit window, the corresponding - * struct has been freed, so... point at the start of the copied text. */ + * record has been freed, so... point at the start of the copied text. */ if (edittop_inside) openfile->edittop = openfile->fileage; diff --git a/src/text.c b/src/text.c index b5269029..96039651 100644 --- a/src/text.c +++ b/src/text.c @@ -1290,7 +1290,7 @@ void discard_until(const undo *thisitem, openfilestruct *thefile, bool keep) thefile->last_saved = (undo *)0xbeeb; } -/* Add a new undo struct of the given type to the top of the current pile. */ +/* Add a new undo item of the given type to the top of the current pile. */ void add_undo(undo_type action) { undo *u = openfile->current_undo;