Fix for bug 1178. Allow FT_?INT24 BASE_DEC VALs in the expression selection dialog.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Oct 2006 22:43:11 +0000 (22:43 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Oct 2006 22:43:11 +0000 (22:43 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19666 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/dfilter_expr_dlg.c

index fc48ad52914820d3d570f9520e2005071dcf5733..1eccd111f7d5b62b83c6b41f568b6740dbd627ce 100644 (file)
@@ -25,7 +25,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
 
 /* Todo -
@@ -696,6 +696,7 @@ value_list_sel_cb(GtkTreeSelection *sel, gpointer value_entry_arg)
 
             case FT_UINT8:
             case FT_UINT16:
+            case FT_UINT24:
             case FT_UINT32:
                 g_snprintf(value_string, sizeof value_string,
                          "%u", value->value);
@@ -703,6 +704,7 @@ value_list_sel_cb(GtkTreeSelection *sel, gpointer value_entry_arg)
 
             case FT_INT8:
             case FT_INT16:
+            case FT_INT24:
             case FT_INT32:
                 g_snprintf(value_string, sizeof value_string,
                          "%d", value->value);