mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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
@ -76,7 +76,7 @@ static int config_has_specials(const char *text)
|
||||
g_return_val_if_fail(text != NULL, FALSE);
|
||||
|
||||
while (*text != '\0') {
|
||||
if (!isalnum((int) *text))
|
||||
if (!isalnum((int) *text) && *text != '_')
|
||||
return TRUE;
|
||||
text++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user