2014-02-22 David Lawrence Ramsey <pooka109@gmail.com>
+ * src/nano.c (allow_pending_sigwinch) - A (char *) cast for pedantic purposes.
+ * src/cut.c (do_cut_text) - Wrap a reference to 'copy_text' in NANO_TINY.
+2014-02-22 David Lawrence Ramsey <pooka109@gmail.com>
* ChangeLog, NEWS, doc/faq.html - Fix typos, wording, and spacing.
2014-01-24 Benno Schulenberg <bens>
} else if (!undoing)
update_undo(CUT);
#endif
- /* Leave the text in the cutbuffer, and mark the file as
- * modified. */
- if (!copy_text) {
- set_modified();
- }
+ /* Leave the text in the cutbuffer, and mark the file as
+ * modified. */
+#ifndef NANO_TINY
+ if (!copy_text) {
+#endif
+ set_modified();
+#ifndef NANO_TINY
+ }
+#endif
/* Update the screen. */
edit_refresh_needed = TRUE;
enabled = ISSET(flag);
- if (flag == NO_HELP
+ if (flag == NO_HELP
#ifndef DISABLE_WRAPPING
|| flag == NO_WRAP
#endif
)
enabled = !enabled;
- desc = _(flagtostr(flag));
+ desc = (char *) _(flagtostr(flag));
statusbar("%s %s", desc, enabled ? _("enabled") :
_("disabled"));
}