remove an extra parenthesis so it actually compiles (oops)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2496
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
num_of_digits()
- Use a size_t instead of an int, and rename to digits(). (DLR)
- winio.c:
+ nanogetstr()
+ - Simplify one of the history checks. (DLR)
do_help()
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR)
* history, and we need to save the current answer
* in currentbuf. Do this and reset use_cb to 0. */
if (currentbuf != NULL && use_cb == 1 &&
- strcmp(currentbuf, answer) != 0)) {
+ strcmp(currentbuf, answer) != 0) {
currentbuf = mallocstrcpy(currentbuf, answer);
use_cb = 0;
}