aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-05 07:31:05 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-05 07:31:05 +0000
commit10fdf41aee500eb8e3d8097082af4d66c930443c (patch)
treec7711b5b389d9435b07a0a13900eeace52a17aaa /prefs.c
parent875b4301b71e9e6e8ebc841cb19fe9ee3a28c0b5 (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10800 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'prefs.c')
-rw-r--r--prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/prefs.c b/prefs.c
index cc004929df..55136474e4 100644
--- a/prefs.c
+++ b/prefs.c
@@ -1,7 +1,7 @@
/* prefs.c
* Routines for handling preferences
*
- * $Id: prefs.c,v 1.130 2004/04/30 00:40:44 guy Exp $
+ * $Id: prefs.c,v 1.131 2004/05/05 07:31:05 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -993,7 +993,7 @@ read_prefs(int *gpf_errno_return, int *gpf_read_errno_return,
prefs.gui_fileopen_style = FO_STYLE_LAST_OPENED;
prefs.gui_recent_files_count_max = 10;
prefs.gui_fileopen_dir = g_strdup("");
- prefs.gui_layout_type = 1;
+ prefs.gui_layout_type = layout_type_5;
prefs.gui_layout_content_1 = layout_pane_content_plist;
prefs.gui_layout_content_2 = layout_pane_content_pdetails;
prefs.gui_layout_content_3 = layout_pane_content_pbytes;