aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-05-31 21:17:54 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-05-31 21:17:54 +0000
commit0d9198f2eab2b8da2b62d87e645e454acf7599ae (patch)
tree7062c5dab3f150ebf11cf3dc8c3b198f50ca063f /file.c
parent192c25179d8453b2d5e9be8439b8426ec65938a9 (diff)
convenience: if a "Go To Packet" didn't succeeded, add the requested packet number to the error message,
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14510 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 95b276d69b..bb1a963a4b 100644
--- a/file.c
+++ b/file.c
@@ -2821,14 +2821,14 @@ cf_goto_frame(capture_file *cf, guint fnumber)
if (fdata == NULL) {
/* we didn't find a packet with that packet number */
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
- "There is no packet with that packet number.");
+ "There is no packet with the packet number %u.", fnumber);
return FALSE; /* we failed to go to that packet */
}
if (!fdata->flags.passed_dfilter) {
/* that packet currently isn't displayed */
/* XXX - add it to the set of displayed packets? */
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
- "That packet isn't currently being displayed.");
+ "The packet number %u isn't currently being displayed.", fnumber);
return FALSE; /* we failed to go to that packet */
}