comment and formatting fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3516 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-05-14 18:22:01 +00:00
parent d8d1e26e54
commit c1c818ebd5
4 changed files with 14 additions and 18 deletions

View File

@ -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)

View File

@ -79,6 +79,7 @@
#endif /* CURSES_H */
#ifdef ENABLE_NLS
/* Native language support. */
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#endif

View File

@ -28,15 +28,14 @@
#include <string.h>
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

View File

@ -30,19 +30,16 @@
#include <ctype.h>
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:
*