diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-05-05 07:31:05 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-05-05 07:31:05 +0000 |
commit | acb752726d1822dfbdc04435c6320d1654313abb (patch) | |
tree | c7711b5b389d9435b07a0a13900eeace52a17aaa /prefs.h | |
parent | 659ac78357caef4ed2fd990b5e3347579ad0ef89 (diff) | |
download | wireshark-acb752726d1822dfbdc04435c6320d1654313abb.tar.gz wireshark-acb752726d1822dfbdc04435c6320d1654313abb.tar.bz2 wireshark-acb752726d1822dfbdc04435c6320d1654313abb.zip |
Use an enum when initializing "prefs.gui_layout_type".
Add an entry to that enum at the end and use that to generate the value
of LAYOUT_QTY.
svn path=/trunk/; revision=10800
Diffstat (limited to 'prefs.h')
-rw-r--r-- | prefs.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* prefs.h * Definitions for preference handling routines * - * $Id: prefs.h,v 1.59 2004/04/30 00:40:44 guy Exp $ + * $Id: prefs.h,v 1.60 2004/05/05 07:31:05 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -76,7 +76,8 @@ typedef enum { layout_type_1, layout_type_4, layout_type_3, - layout_type_6 + layout_type_6, + layout_type_max } layout_type_e; /* |