nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit e53c38274f3fa1723481e781f7bffab2efd6560b
parent b94d51aa7ee0801d814edfde686a0f31c869eb91
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 19 Apr 2007 03:23:16 +0000

still more cosmetic fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4086 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Mconfigure.ac | 6+++---
Msrc/files.c | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -53,7 +53,7 @@ AC_CHECK_HEADERS(getopt.h libintl.h limits.h regex.h sys/param.h wchar.h wctype. dnl Checks for options. -AC_ARG_ENABLE(debug, +AC_ARG_ENABLE(debug, [ --enable-debug Enable debugging (disabled by default)], [if test x$enableval = xyes; then AC_DEFINE(DEBUG, 1, [Define this to enable debug messages and assert warnings.]) debug_support=yes @@ -98,7 +98,7 @@ fi]) AC_ARG_ENABLE(justify, [ --disable-justify Disable justify/unjustify functions], [if test x$enableval != xyes; then - AC_DEFINE(DISABLE_JUSTIFY, 1, [Define this to disable the justify routines.]) + AC_DEFINE(DISABLE_JUSTIFY, 1, [Define this to disable the justify routines.]) fi]) AC_ARG_ENABLE(mouse, @@ -122,7 +122,7 @@ fi]) AC_ARG_ENABLE(tabcomp, [ --disable-tabcomp Disable tab completion functions], [if test x$enableval != xyes; then - AC_DEFINE(DISABLE_TABCOMP, 1, [Define to disable the tab completion functions for files and search strings.]) + AC_DEFINE(DISABLE_TABCOMP, 1, [Define to disable the tab completion functions for files and search strings.]) fi]) AC_ARG_ENABLE(wrapping, diff --git a/src/files.c b/src/files.c @@ -1995,7 +1995,7 @@ char *real_dir_from_tilde(const char *buf) size_t i = 1; char *tilde_dir; - /* Figure out how much of the str we need to compare. */ + /* Figure out how much of the string we need to compare. */ for (; buf[i] != '/' && buf[i] != '\0'; i++) ;