2009-11-29 David Lawrence Ramsey <pooka109@gmail.com>
* Change several *chars to const char, additional cleanups and casts to make compilers happier.
+ * global.c: Fix replace and insert file initializations for proper compilation options.
+ * nano.c (do_suspend): Update comments to reflect actual code path, bad Chris and thanks for
+ noticing Jordi.
+ * configure.ac: Fix typos
2009-11-27 Chris Allegretta <chrisa@asty.org>
* nano.c (do_suspend): Don't clear the screen but do move the cursor down to the last line
AC_ARG_ENABLE(all,
[ --enable-all Enable ALL extra nano functionality (ignored for compatibility as all options default to on)],
[if test x$enableval = xyes; then
- echo "--enable-all option no longer needed, ignoring for compatiblity"
+ echo "--enable-all option no longer needed, ignoring for compatibility"
fi])
AC_MSG_CHECKING([whether to enable UTF-8 support])
/* Stuff we need to make at least static here so we can access it below */
+/* TRANSLATORS: Try to keep the next five strings at most 10 characters. */
const char *cancel_msg = N_("Cancel");
+const char *replace_msg = N_("Replace");
+const char *no_replace_msg = N_("No Replace");
#ifndef NANO_TINY
const char *case_sens_msg = N_("Case Sens");
/* TRANSLATORS: Try to keep the next five strings at most 10 characters. */
const char *prev_history_msg = N_("PrevHstory");
const char *next_history_msg = N_("NextHstory");
-const char *replace_msg = N_("Replace");
-const char *no_replace_msg = N_("No Replace");
const char *gototext_msg = N_("Go To Text");
/* TRANSLATORS: Try to keep the next three strings at most 12 characters. */
const char *whereis_next_msg = N_("WhereIs Next");
const char *fulljstify_msg = N_("FullJstify");
#endif
const char *refresh_msg = N_("Refresh");
+#ifndef NANO_TINY
const char *insert_file_msg = N_("Insert File");
+#endif
const char *go_to_line_msg = N_("Go To Line");
#ifndef DISABLE_JUSTIFY
disable_mouse_support();
#endif
- /* Blank the screen, and move the cursor to the last line of the
- * screen. */
+ /* Move the cursor to the last line of the screen. */
move(LINES - 1, 0);
endwin();