diff options
Diffstat (limited to 'locale/programs/charmap.c')
-rw-r--r-- | locale/programs/charmap.c | 2 |
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"), |