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:
Chuck Craft 2022-12-25 21:58:25 -06:00
parent 95f705dd8b
commit 1d6cf2f513
1 changed files with 1 additions and 1 deletions

View File

@ -4620,7 +4620,7 @@ read_prefs_file(const char *pf_path, FILE *pf,
break;
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);
break;