tweaks: adjust indentation after previous change, and rename a parameter

master
Benno Schulenberg 2019-03-24 09:42:57 +01:00
parent 003ddc763e
commit e02c8aeb20
1 changed files with 7 additions and 7 deletions

View File

@ -638,16 +638,16 @@ char *mbrevstrpbrk(const char *head, const char *accept, const char *pointer)
#if defined(ENABLE_NANORC) && (!defined(NANO_TINY) || defined(ENABLE_JUSTIFY))
/* Return TRUE if the given string contains at least one blank character,
* and FALSE otherwise. */
bool has_blank_char(const char *s)
bool has_blank_char(const char *string)
{
char symbol[MAXCHARLEN];
char symbol[MAXCHARLEN];
while (*s != '\0') {
s += parse_mbchar(s, symbol, NULL);
while (*string != '\0') {
string += parse_mbchar(string, symbol, NULL);
if (is_blank_mbchar(symbol))
return TRUE;
}
if (is_blank_mbchar(symbol))
return TRUE;
}
return FALSE;
}