prefs: report load error in gui popup
ws_warning logs to console which most users will never see. https://ask.wireshark.org/question/30035/new-computer-setup-custom-columns/
This commit is contained in:
parent
95f705dd8b
commit
1d6cf2f513
|
@ -4620,7 +4620,7 @@ read_prefs_file(const char *pf_path, FILE *pf,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PREFS_SET_SYNTAX_ERR:
|
case PREFS_SET_SYNTAX_ERR:
|
||||||
ws_warning("Syntax error in preference \"%s\" at line %d of\n%s %s",
|
report_warning("Syntax error in preference \"%s\" at line %d of\n%s %s",
|
||||||
cur_var->str, pline, pf_path, hint);
|
cur_var->str, pline, pf_path, hint);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue