From e5f24517355fd55b517162fd89a1716a44fdc98b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 15 Apr 2004 23:28:11 +0000 Subject: Rename a bunch of variables and routines that pertain to string search with "string" rather than "ascii", to make it clearer what they're involved with. Use "gtk_toggle_button_set_active()", not "gtk_toggle_button_set_state()" (the latter is a deprecated alias for the former, probably dating back to GTK+ 1.0[.x] - 1.2[.x] and later have "gtk_toggle_button_set_active()"). Do *NOT* change the radio buttons for the type of string search to do based on whether we're doing a string search or not - doing so means we don't correctly remember the type of string search. Get rid of code to fetch some values that we don't subsequently use. svn path=/trunk/; revision=10609 --- cfile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cfile.h') diff --git a/cfile.h b/cfile.h index a95a10ab95..0b9802e644 100644 --- a/cfile.h +++ b/cfile.h @@ -1,7 +1,7 @@ /* cfile.h * capture_file definition & GUI-independent manipulation * - * $Id: cfile.h,v 1.9 2004/02/03 00:16:58 ulfl Exp $ + * $Id: cfile.h,v 1.10 2004/04/15 23:28:10 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -73,7 +73,7 @@ typedef struct _capture_file { gchar *sfilter; /* Search filter string */ gboolean sbackward; /* TRUE if search is backward, FALSE if forward */ gboolean hex; /* TRUE is raw data search is being performed */ - gboolean ascii; /* TRUE is text search is being performed */ + gboolean string; /* TRUE is text search is being performed */ search_charset_t scs_type; /* Character set for text search */ gboolean case_type; /* TRUE if case-insensitive text search */ gboolean decode_data; /* TRUE if searching protocol tree text */ -- cgit v1.2.3