From: David Lawrence Ramsey Date: Sun, 14 May 2006 18:22:01 +0000 (+0000) Subject: comment and formatting fixes X-Git-Tag: v1.3.12~164 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c1c818ebd5b535a7744dc71febe40b8ff3a547f8;p=nano.git comment and formatting fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3516 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/global.c b/src/global.c index 8af2b724..3f9947e2 100644 --- a/src/global.c +++ b/src/global.c @@ -214,8 +214,7 @@ bool curses_ended = FALSE; * statusbar. */ char *homedir = NULL; - /* The user's home directory, from $HOME or - * /etc/passwd. */ + /* The user's home directory, from $HOME or /etc/passwd. */ /* Return the number of entries in the shortcut list s. */ size_t length_of_list(const shortcut *s) diff --git a/src/nano.h b/src/nano.h index d237a8a9..18c9032c 100644 --- a/src/nano.h +++ b/src/nano.h @@ -79,6 +79,7 @@ #endif /* CURSES_H */ #ifdef ENABLE_NLS +/* Native language support. */ #ifdef HAVE_LIBINTL_H #include #endif diff --git a/src/prompt.c b/src/prompt.c index 01ec2957..31016349 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -28,15 +28,14 @@ #include static char *prompt = NULL; - /* The prompt string for statusbar - * questions. */ + /* The prompt string for statusbar questions. */ static size_t statusbar_x = (size_t)-1; - /* The cursor position in answer. */ + /* The cursor position in answer. */ static size_t statusbar_pww = (size_t)-1; - /* The place we want in answer. */ + /* The place we want in answer. */ static bool reset_statusbar_x = FALSE; - /* Should we reset the cursor position - * at the statusbar prompt? */ + /* Should we reset the cursor position at the statusbar + * prompt? */ /* Read in a character, interpret it as a shortcut or toggle if * necessary, and return it. Set meta_key to TRUE if the character is a diff --git a/src/winio.c b/src/winio.c index 77accad8..3012026c 100644 --- a/src/winio.c +++ b/src/winio.c @@ -30,19 +30,16 @@ #include static int *key_buffer = NULL; - /* The default keystroke buffer, - * containing all the keystrokes we have - * at a given point. */ + /* The default keystroke buffer, containing all the keystrokes + * we have at a given point. */ static size_t key_buffer_len = 0; - /* The length of the default keystroke - * buffer. */ + /* The length of the default keystroke buffer. */ static int statusblank = 0; - /* The number of keystrokes left after - * we call statusbar(), before we - * actually blank the statusbar. */ + /* The number of keystrokes left after we call statusbar(), + * before we actually blank the statusbar. */ static bool disable_cursorpos = FALSE; - /* Should we temporarily disable - * constant cursor position display? */ + /* Should we temporarily disable constant cursor position + * display? */ /* Control character compatibility: *