fix inaccurate comments

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2540 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-05-26 02:46:42 +00:00
parent 0a8ec176e4
commit 8b3266e83c
1 changed files with 4 additions and 4 deletions

View File

@ -1211,8 +1211,8 @@ void update_history(filestruct **h, filestruct **hage, filestruct
*h = *hbot;
}
/* Return the string in the history list just before h, or NULL if there
* isn't one. */
/* Move h to the string in the history list just before it, and return
* that string. If there isn't one, don't move h and return NULL. */
char *get_history_older(filestruct **h)
{
assert(h != NULL);
@ -1225,8 +1225,8 @@ char *get_history_older(filestruct **h)
return (*h)->data;
}
/* Return the string in the history list just after h, or NULL if there
* isn't one. */
/* Move h to the string in the history list just after it, and return
* that string. If there isn't one, don't move h and return NULL. */
char *get_history_newer(filestruct **h)
{
assert(h != NULL);