From 2aca11e8009f9b7e64d8164b851c68f08f34f2c9 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 15 Dec 2006 04:53:47 +0000 Subject: [PATCH] more comment fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4003 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/files.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/files.c b/src/files.c index c3d90dfe..3af05746 100644 --- a/src/files.c +++ b/src/files.c @@ -2410,8 +2410,9 @@ const char *tail(const char *foo) } #if !defined(NANO_TINY) && defined(ENABLE_NANORC) -/* Return $HOME/.nano_history, or NULL if we can't find the homedir. - * The string is dynamically allocated, and should be freed. */ +/* Return $HOME/.nano_history, or NULL if we can't find the home + * directory. The string is dynamically allocated, and should be + * freed. */ char *histfilename(void) { char *nanohist = NULL; @@ -2448,9 +2449,9 @@ void load_history(void) ; } } else { - /* Load a history (first the search history, then the - * replace history) from oldest to newest. Assume the last - * history entry is a blank line. */ + /* Load a history list (first the search history, then the + * replace history) from the oldest entry to the newest. + * Assume the last history entry is a blank line. */ filestruct **history = &search_history; char *line = NULL; size_t buflen = 0; @@ -2482,8 +2483,8 @@ bool writehist(FILE *hist, filestruct *h) { filestruct *p; - /* Write history from oldest to newest. Assume the last history - * entry is a blank line. */ + /* Write a history list from the oldest entry to the newest. Assume + * the last history entry is a blank line. */ for (p = h; p != NULL; p = p->next) { size_t p_len = strlen(p->data); -- 2.39.5