do_gotolinecolumn(), do_delete(), and find_paragraph(). (DLR)
- nano.h:
- Readd MIN_EDITOR_COLS #define. (DLR)
+- rcfile.c:
+ do_rcfile()
+ - Remove unneeded assert. (DLR)
- winio.c:
nanoget_repaint()
- Rename parameter inputbuf to buf, for consistency. (DLR)
return;
}
-/* The main rc file function, tries to open the rc file */
+/* The main rcfile function. It tries to open the system-wide rcfile,
+ * followed by the local rcfile. */
void do_rcfile(void)
{
FILE *rcstream;
#ifdef SYSCONFDIR
- assert(sizeof(SYSCONFDIR) == strlen(SYSCONFDIR) + 1);
-
nanorc = mallocstrcpy(nanorc, SYSCONFDIR "/nanorc");
/* Try to open the system-wide nanorc. */
rcstream = fopen(nanorc, "r");