mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 22:29:42 +03:00
tweaks: remove a redundant "struct" word, and replace it in comments
This commit is contained in:
parent
a3a10dfafe
commit
3218d8358a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user