summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fr-init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fr-init.c b/src/fr-init.c
index 2abf248..d4c4885 100644
--- a/src/fr-init.c
+++ b/src/fr-init.c
@@ -192,10 +192,10 @@ GList *CommandList;
gint ForceDirectoryCreation;
GHashTable *ProgramsCache;
GPtrArray *Registered_Commands;
-int single_file_save_type[64];
-int save_type[64];
-int open_type[64];
-int create_type[64];
+int single_file_save_type[G_N_ELEMENTS (mime_type_desc)];
+int save_type[G_N_ELEMENTS (mime_type_desc)];
+int open_type[G_N_ELEMENTS (mime_type_desc)];
+int create_type[G_N_ELEMENTS (mime_type_desc)];
static void