better, and allow things to be rebound in the linter menu.
* src/nano.h: Delete a large bunch of unused defines.
* src/nano.h, src/proto.h: Delete some more unused stuff.
+ * src/rcfile.c (parse_binding), src/winio.c (get_mouseinput):
+ Avoid three compiler warnings with --enable-debug.
2014-04-16 Benno Schulenberg <bensberg@justemail.net>
* src/winio.c (get_mouseinput): Properly find also the zeroeth
#ifdef DEBUG
if (dobind)
- fprintf(stderr, "newsc now address %d, func assigned = %d, menu = %x\n",
- &newsc, newsc->scfunc, menu);
+ fprintf(stderr, "newsc address is now %ld, assigned func = %ld, menu = %x\n",
+ (long)&newsc, (long)newsc->scfunc, menu);
else
fprintf(stderr, "unbinding \"%s\" from menu %x\n", keycopy, menu);
#endif
j -= 1;
}
#ifdef DEBUG
- fprintf(stderr, "Stopped on func %ld present in menus %x\n", f->scfunc, f->menus);
+ fprintf(stderr, "Stopped on func %ld present in menus %x\n", (long)f->scfunc, f->menus);
#endif
/* And put the corresponding key into the keyboard buffer. */