- nano.h:
- Remove the manual disabling of color support if regex.h isn't
found, as configure.ac now handles that. (DLR)
+- search.c:
+ replace_regexp()
+ - Remove unnecessary casting of c to int. (DLR)
- text.c:
execute_command()
- Remove the marking of the file as modified, as do_insertfile()
/* Iterate through the replacement text to handle subexpression
* replacement using \1, \2, \3, etc. */
while (*c != '\0') {
- int num = (int)(*(c + 1) - '0');
+ int num = (*(c + 1) - '0');
if (*c != '\\' || num < 1 || num > 9 || num >
search_regexp.re_nsub) {