summary refs log tree commit diff stats
path: root/src/common/cfgfiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/cfgfiles.h')
-rw-r--r--src/common/cfgfiles.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/cfgfiles.h b/src/common/cfgfiles.h
index 984b9472..2cb4a4e2 100644
--- a/src/common/cfgfiles.h
+++ b/src/common/cfgfiles.h
@@ -35,10 +35,10 @@ FILE *xchat_fopen_file (const char *file, const char *mode, int xof_flags);
 #define STRUCT_OFFSET_INT(type,field) \
 ( (unsigned int) (((int *) (&(((type *) NULL)->field)))- ((int *) NULL)) )
 
-#define P_OFFSET(field) STRUCT_OFFSET_STR(struct xchatprefs, field),sizeof(prefs.field)
-#define P_OFFSETNL(field) STRUCT_OFFSET_STR(struct xchatprefs, field)
-#define P_OFFINT(field) STRUCT_OFFSET_INT(struct xchatprefs, field),0
-#define P_OFFINTNL(field) STRUCT_OFFSET_INT(struct xchatprefs, field)
+#define P_OFFSET(field) STRUCT_OFFSET_STR(struct hexchatprefs, field),sizeof(prefs.field)
+#define P_OFFSETNL(field) STRUCT_OFFSET_STR(struct hexchatprefs, field)
+#define P_OFFINT(field) STRUCT_OFFSET_INT(struct hexchatprefs, field),0
+#define P_OFFINTNL(field) STRUCT_OFFSET_INT(struct hexchatprefs, field)
 
 struct prefs
 {