Fixing two compilation warnings for tiny.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4714 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Benno Schulenberg 2014-04-03 21:06:30 +00:00
parent d17438bd1d
commit b8b29ff138
3 changed files with 6 additions and 1 deletions

View File

@ -7,6 +7,7 @@
Convert #ifdef ENABLE_MULTIBUFFER to #ifndef DISABLE_MULTIBUFFER.
* src/{proto.h,files.c,,nano.c,winio.c}, configure.ac:
Convert #ifdef NANO_EXTRA to #ifndef DISABLE_EXTRA.
* src/{global.c,text.c}: Fix two compilation warnings for tiny.
2014-04-02 Benno Schulenberg <bensberg@justemail.net>
* configure.ac, doc/Makefile.am: Try to build the info documentation

View File

@ -577,7 +577,9 @@ void shortcut_init(bool unjustify)
#endif
const char *refresh_msg = N_("Refresh");
const char *go_to_line_msg = N_("Go To Line");
#ifndef DISABLE_SPELLER
const char *spell_msg = N_("To Spell");
#endif
#ifdef ENABLE_COLOR
const char *lint_msg = N_("To Linter");
const char *prev_lint_msg = N_("Prev Lint Msg");
@ -615,8 +617,10 @@ void shortcut_init(bool unjustify)
N_("Uncut from the cutbuffer into the current line");
const char *nano_cursorpos_msg =
N_("Display the position of the cursor");
#ifndef DISABLE_SPELLER
const char *nano_spell_msg =
N_("Invoke the spell checker, if available");
#endif
const char *nano_replace_msg =
N_("Replace a string or a regular expression");
const char *nano_gotoline_msg = N_("Go to line and column number");

View File

@ -3190,9 +3190,9 @@ void do_linter(void)
tmpcol = curlint->colno;
if (tmplint != curlint) {
#ifndef NANO_TINY
struct stat lintfileinfo;
#ifndef NANO_TINY
new_lint_loop:
if (stat(curlint->filename, &lintfileinfo) != -1) {
if (openfile->current_stat->st_ino != lintfileinfo.st_ino) {