1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -04: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:
Timo Sirainen 2000-06-14 17:31:53 +00:00 committed by cras
parent 7365afddea
commit 0238eeb5e2

View File

@ -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++;
}