URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dd6a74894f5cac1c3b2a3706e1e2e219b3440c0c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
dd6a748 by Guy Harris (guy@xxxxxxxxxxxx):
Pull the invocation of the Lex scanner into common code.
Instead of text_import_setup() and text_import_cleanup() routines, and
the actual scanner invocation being done in the dialog box, have a
text_import() routine that does all the work.
Change-Id: Ifd8a999618dbb411d613e6596484e4c2e013431d
Reviewed-on: https://code.wireshark.org/review/14647
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from f0ada20 Make failure_alert_box() be printf-like.
adds dd6a748 Pull the invocation of the Lex scanner into common code.
Summary of changes:
ui/gtk/file_import_dlg.c | 8 +-------
ui/qt/import_text_dialog.cpp | 8 +-------
ui/text_import.c | 15 ++++++---------
ui/text_import.h | 3 +--
4 files changed, 9 insertions(+), 25 deletions(-)