summaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/prefs.h b/src/prefs.h
index 68bf773a..2b0f15e4 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -26,9 +26,7 @@ extern "C" {
/* Panel sizes */
enum { P_tiny = 0, P_small, P_medium };
-typedef struct _DilloPrefs DilloPrefs;
-
-struct _DilloPrefs {
+typedef struct {
int width;
int height;
int xpos;
@@ -99,7 +97,7 @@ struct _DilloPrefs {
bool_t middle_click_drags_page;
int penalty_hyphen, penalty_hyphen_2;
int penalty_em_dash_left, penalty_em_dash_right, penalty_em_dash_right_2;
-};
+} DilloPrefs;
/* Global Data */
extern DilloPrefs prefs;