Commit 8b3266e8 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

fix inaccurate comments

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2540 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment