about summary refs log tree commit diff
path: root/locale/programs/charmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/charmap.c')
-rw-r--r--locale/programs/charmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/charmap.c b/locale/programs/charmap.c
index e11df1cf29..fd9cc357e3 100644
--- a/locale/programs/charmap.c
+++ b/locale/programs/charmap.c
@@ -290,7 +290,7 @@ parse_charmap (const char *filename)
 	  switch (nowtok)
 	    {
 	    case tok_code_set_name:
-	      if (arg->tok != tok_ident)
+	      if (arg->tok != tok_ident && arg->tok != tok_string)
 		{
 		badarg:
 		  lr_error (cmfile, _("syntax error in prolog: %s"),