Wireshark-commits: [Wireshark-commits] master e8cb623: prefs: spelling fix, simplify code
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e8cb6231661ef36f17d3c2a7a9f9d12600120047
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
e8cb623 by Peter Wu (peter@xxxxxxxxxxxxx):
prefs: spelling fix, simplify code
Found spelling error "a another". All those dynamic allocations and
magic numbers are horrible and unnecessary. Simplify the gtk code
rewording the message and merging strings.
Simplify the version code by using fscanf to take care of matching
the first line of a preference file.
Change-Id: I1e75803aacaa494ba5005791bcbd023e0807aaaa
Reviewed-on: https://code.wireshark.org/review/1424
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from b086b78 gtk: fix glib assert for dialogs without cancel
adds e8cb623 prefs: spelling fix, simplify code
Summary of changes:
epan/prefs.c | 15 ++++-----------
ui/gtk/prefs_dlg.c | 29 ++++++++++-------------------
2 files changed, 14 insertions(+), 30 deletions(-)