summary refs log tree commit diff stats
path: root/src/common/cfgfiles.h
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 09:00:35 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 09:00:35 +0200
commitfba30c4cf89fe4c77415f8bff1567b1ee4672f83 (patch)
tree3966e5731332503fe10e15837622ddcfd2fc97ee /src/common/cfgfiles.h
parent25f25069846cbf5276542901abbf201f5afafd38 (diff)
Rebrand xchatprefs
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
 {