mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
(mc_search__get_one_symbol): cosmetics.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
52d1980c46
commit
c511968cd4
@ -125,13 +125,8 @@ mc_search__get_one_symbol (const char *charset, const char *str, gsize str_len,
|
||||
converted_str2 =
|
||||
mc_search__recode_str (converted_str, tmp_len, cp_display, charset, &converted_str_len);
|
||||
#endif
|
||||
if (just_letters)
|
||||
{
|
||||
if (str_isalnum (converted_str) && !str_isdigit (converted_str))
|
||||
*just_letters = TRUE;
|
||||
else
|
||||
*just_letters = FALSE;
|
||||
}
|
||||
if (just_letters != NULL)
|
||||
*just_letters = str_isalnum (converted_str) && !str_isdigit (converted_str);
|
||||
#ifdef HAVE_CHARSET
|
||||
g_free (converted_str);
|
||||
return converted_str2;
|
||||
|
Loading…
Reference in New Issue
Block a user