if (currshortcut == main_list) {
for (t = toggles; t != NULL; t = t->next) {
assert(t->desc != NULL);
- ptr += sprintf(ptr, "M-%c\t\t\t%s %s\n", toupper(t->val), t->desc,
- _("enable/disable"));
+ ptr += sprintf(ptr, "M-%c\t\t\t%s %s\n", toupper(t->val),
+ t->desc, _("enable/disable"));
}
}
#endif /* !NANO_SMALL */
/* Skip letters in this word first. */
while (current->data[current_x] != '\0' &&
- isalnum((int)current->data[current_x]))
+ isalnum(current->data[current_x]))
current_x++;
for (; current != NULL; current = current->next) {
while (current->data[current_x] != '\0' &&
- !isalnum((int)current->data[current_x]))
+ !isalnum(current->data[current_x]))
current_x++;
if (current->data[current_x] != '\0')
assert(current != NULL && current->data != NULL);
/* Skip letters in this word first. */
- while (current_x >= 0 && isalnum((int)current->data[current_x]))
+ while (current_x >= 0 && isalnum(current->data[current_x]))
current_x--;
for (; current != NULL; current = current->prev) {
- while (current_x >= 0 && !isalnum((int)current->data[current_x]))
+ while (current_x >= 0 && !isalnum(current->data[current_x]))
current_x--;
if (current_x >= 0)
current = fileage;
current_x = 0;
} else {
- while (current_x > 0 && isalnum((int)current->data[current_x - 1]))
+ while (current_x > 0 && isalnum(current->data[current_x - 1]))
current_x--;
}
/* Start of line or previous character is not a letter and end of
* line or next character is not a letter. */
- return (curr_pos < 1 || !isalpha((int)datastr[curr_pos - 1])) &&
- (sln == strlen(datastr) || !isalpha((int)datastr[sln]));
+ return (curr_pos < 1 || !isalpha(datastr[curr_pos - 1])) &&
+ (sln == strlen(datastr) || !isalpha(datastr[sln]));
}
/* Look for needle, starting at current, column current_x. If