diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-05-31 21:17:54 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-05-31 21:17:54 +0000 |
commit | bd1442f452e3b24434df878713fd075bd9044203 (patch) | |
tree | 7062c5dab3f150ebf11cf3dc8c3b198f50ca063f /file.c | |
parent | 692cd3d6dbff609ddc1833a35cd597d7929afbee (diff) | |
download | wireshark-bd1442f452e3b24434df878713fd075bd9044203.tar.gz wireshark-bd1442f452e3b24434df878713fd075bd9044203.tar.bz2 wireshark-bd1442f452e3b24434df878713fd075bd9044203.zip |
convenience: if a "Go To Packet" didn't succeeded, add the requested packet number to the error message,
svn path=/trunk/; revision=14510
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ } |