* rcfile.c (parse_keybinding) - Define a var before tryung to use it. Whoops!
* fix some redefinitions causing compiler warnings, from Eitan Adler. Other
(hopefully) fixes for uncasted malloc()s, reported by the same.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4385
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
+2009-02-23 Chris Allegretta <chrisa@asty.org>
+ * rcfile.c (parse_keybinding) - Define a var before tryung to use it. Whoops!
+ * fix some redefinitions causing compiler warnings, from Eitan Adler. Other
+ (hopefully) fixes for uncasted malloc()s, reported by the same.
GNU nano 2.1.9 - 2009.02.16
2009-02-16 Chris Allegretta <chrisa@asty.org>
subnfunc *f;
if (allfuncs == NULL) {
- allfuncs = nmalloc(sizeof(subnfunc));
+ allfuncs = (subnfunc *) nmalloc(sizeof(subnfunc));
f = allfuncs;
} else {
for (f = allfuncs; f->next != NULL; f = f->next)
sc *s;
if (sclist == NULL) {
- sclist = nmalloc(sizeof(sc));
+ sclist = (sc *) nmalloc(sizeof(sc));
s = sclist;
s->next = NULL;
} else {
extern size_t quotelen;
#endif
#endif
-bool nodelay_mode;
+extern bool nodelay_mode;
extern char *answer;
extern ssize_t tabsize;
const char *append_msg;
const char *prepend_msg;
const char *backup_file_msg;
-const char *dos_format_msg;
-const char *mac_format_msg;
-const char *append_msg;
-const char *prepend_msg;
-const char *backup_file_msg;
const char *gototext_msg;
const char *new_buffer_msg;
void iso_me_harder_funcmap(short func);
return;
}
+ menu = strtomenu(menuptr);
newsc = strtosc(menu, funcptr);
if (newsc == NULL) {
rcfile_error(
return;
}
- menu = strtomenu(menuptr);
if (menu < 1) {
rcfile_error(
N_("Could not map name \"%s\" to a menu"), menuptr);