aboutsummaryrefslogtreecommitdiffstats
path: root/proto_hier_stats.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-12 11:05:02 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-12 11:05:02 +0000
commitec7127bd8f5cef89ddf5126903b9ef15c5851c8c (patch)
treef6374552ea26d82fdeba18a3587c5ee7e63554a1 /proto_hier_stats.c
parenta963d76f813971cc40686829e023fcaa24351b6c (diff)
Allow a progress dialog to have "Stop" or "Cancel" as the "terminate
button"; "Stop" should be used for operations that can only be stopped (meaning that what it's already done isn't undone), not cancelled (meaning that whatever it's already done *is* undone), for which "Cancel" is used. Allow the merging process to be cancelled. Clean up indentation. Update some comments. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16489 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r--proto_hier_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c
index 0e0d602988..beacf589b2 100644
--- a/proto_hier_stats.c
+++ b/proto_hier_stats.c
@@ -219,7 +219,7 @@ ph_stats_new(void)
if (progbar == NULL)
progbar = delayed_create_progress_dlg(
"Computing", "protocol hierarchy statistics",
- &stop_flag, &start_time, progbar_val);
+ TRUE, &stop_flag, &start_time, progbar_val);
/* Update the progress bar, but do it only N_PROGBAR_UPDATES
times; when we update it, we have to run the GTK+ main