mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
config: Swap the "unknown command" and "parse error" messages.
They should be in the same order as in enum parse_error.
This commit is contained in:
parent
b216a21b79
commit
1d16e90dca
@ -391,12 +391,12 @@ parse_config_file(struct option *options, unsigned char *name,
|
||||
enum parse_error err = 0;
|
||||
enum verbose_level verbose = get_cmd_opt_int("verbose");
|
||||
static const unsigned char error_msg[][40] = {
|
||||
"no error",
|
||||
"parse error",
|
||||
"unknown command",
|
||||
"unknown option",
|
||||
"bad value",
|
||||
"no memory left",
|
||||
"no error", /* ERROR_NONE */
|
||||
"unknown command", /* ERROR_COMMAND */
|
||||
"parse error", /* ERROR_PARSE */
|
||||
"unknown option", /* ERROR_OPTION */
|
||||
"bad value", /* ERROR_VALUE */
|
||||
"no memory left", /* ERROR_NOMEM */
|
||||
};
|
||||
|
||||
while (file && *file) {
|
||||
|
Loading…
Reference in New Issue
Block a user