1
1

tweaks: remove a redundant "struct" word, and replace it in comments

Этот коммит содержится в:
Benno Schulenberg 2018-08-20 19:31:23 +02:00
родитель a3a10dfafe
Коммит 3218d8358a
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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. */

Просмотреть файл

@ -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));

Просмотреть файл

@ -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;

Просмотреть файл

@ -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;