aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-03-02 22:37:03 +0000
committerGuy Harris <guy@alum.mit.edu>2003-03-02 22:37:03 +0000
commit55cb7ac8b75fda481bed19c697c8a50828357687 (patch)
tree00fa6832759ac2c5853a94c6abc53e53f83cdfb3 /file.c
parent300aa657cc8684c815dd4dad23619970702982cd (diff)
downloadwireshark-55cb7ac8b75fda481bed19c697c8a50828357687.tar.gz
wireshark-55cb7ac8b75fda481bed19c697c8a50828357687.tar.bz2
wireshark-55cb7ac8b75fda481bed19c697c8a50828357687.zip
The frame number passed to "goto_frame()" wasn't necessarily explicitly
specified by the user, so if the frame with that frame number isn't being displayed, just refer to it as "That frame", not "The frame with that frame number". (That's even OK if they *did* specify it.) (If there's no such frame, that "shouldn't happen" in cases where it was implicitly specified, e.g. by getting it from a list of fragments, or a "{request,reply} is in frame XXX" field, or clicking on a point in a TCP graph.) svn path=/trunk/; revision=7258
Diffstat (limited to 'file.c')
-rw-r--r--file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/file.c b/file.c
index 2ad5002c22..1586299ee6 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.297 2003/03/02 22:07:21 guy Exp $
+ * $Id: file.c,v 1.298 2003/03/02 22:37:03 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1564,16 +1564,16 @@ goto_frame(capture_file *cf, guint fnumber)
;
if (fdata == NULL) {
- /* we didn't find that frame */
+ /* we didn't find a frame with that frame number */
simple_dialog(ESD_TYPE_CRIT, NULL,
"There is no frame with that frame number.");
return FALSE; /* we failed to go to that frame */
}
if (!fdata->flags.passed_dfilter) {
- /* the frame with that number isn't displayed */
+ /* that frame currently isn't displayed */
/* XXX - add it to the set of displayed frames? */
simple_dialog(ESD_TYPE_CRIT, NULL,
- "The frame with that frame number is not currently being displayed.");
+ "That frame is not currently being displayed.");
return FALSE; /* we failed to go to that frame */
}