mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
If name tag contains '_', it shouldn't be quoted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@333 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7365afddea
commit
0238eeb5e2
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ static int config_has_specials(const char *text)
|
||||||
g_return_val_if_fail(text != NULL, FALSE);
|
g_return_val_if_fail(text != NULL, FALSE);
|
||||||
|
|
||||||
while (*text != '\0') {
|
while (*text != '\0') {
|
||||||
if (!isalnum((int) *text))
|
if (!isalnum((int) *text) && *text != '_')
|
||||||
return TRUE;
|
return TRUE;
|
||||||
text++;
|
text++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue