diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-14 17:31:53 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-14 17:31:53 +0000 |
commit | 0238eeb5e2afe4cbc96cfe4c121093f8ae7d4249 (patch) | |
tree | 6962569e5283b11abec06024fbfc7e0d500232e0 | |
parent | 7365afddea55dcf265389d2ea1f15286261de4a3 (diff) | |
download | irssi-0238eeb5e2afe4cbc96cfe4c121093f8ae7d4249.zip |
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
-rw-r--r-- | src/lib-config/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib-config/write.c b/src/lib-config/write.c index 552600a7..76f29a09 100644 --- a/src/lib-config/write.c +++ b/src/lib-config/write.c @@ -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++; } |