summary refs log tree commit diff stats
path: root/src/common/cfgfiles.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-05-03 23:57:45 -0400
committerTingPing <tingping@tingping.se>2014-05-03 23:57:45 -0400
commit9599c29c465cf8b0ac64969152e645ed09fef1d0 (patch)
tree29d0f52acb17312bb64dfc3a2f75e4ef2d2ce4d6 /src/common/cfgfiles.c
parentfe71af15a715ca914fe6cd8ea174c2c948476a68 (diff)
Use filesize format based on OS
Adds gui_filesize_iec option on Unix

Closes #966
Diffstat (limited to 'src/common/cfgfiles.c')
-rw-r--r--src/common/cfgfiles.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index 3e14d748..1207ff69 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -416,6 +416,7 @@ const struct prefs vars[] =
 	{"gui_dialog_left", P_OFFINT (hex_gui_dialog_left), TYPE_INT},
 	{"gui_dialog_top", P_OFFINT (hex_gui_dialog_top), TYPE_INT},
 	{"gui_dialog_width", P_OFFINT (hex_gui_dialog_width), TYPE_INT},
+	{"gui_filesize_iec", P_OFFINT (hex_gui_filesize_iec), TYPE_BOOL},
 	{"gui_focus_omitalerts", P_OFFINT (hex_gui_focus_omitalerts), TYPE_BOOL},
 	{"gui_hide_menu", P_OFFINT (hex_gui_hide_menu), TYPE_BOOL},
 	{"gui_input_attr", P_OFFINT (hex_gui_input_attr), TYPE_BOOL},