diff --git a/src/mu-msg-fields.c b/src/mu-msg-fields.c index 6a3846df..f586365f 100644 --- a/src/mu-msg-fields.c +++ b/src/mu-msg-fields.c @@ -29,8 +29,8 @@ typedef enum _FieldFlags FieldFlags; struct _MuMsgField { const char *_name; - const char *_shortcut; - const char *_prefix; + const char *_shortcut; + const char *_prefix; /* xapian prefix */ MuMsgFieldId _id; MuMsgFieldType _type; @@ -84,7 +84,7 @@ static const MuMsgField FIELD_DATA[] = { { "prio", "P", "I", MU_MSG_FIELD_ID_PRIORITY, MU_MSG_FIELD_TYPE_INT, - FLAG_XAPIAN | FLAG_GMIME + FLAG_XAPIAN | FLAG_GMIME | FLAG_INDEX }, { "size", "z", "Z", @@ -218,7 +218,7 @@ mu_msg_field_is_numeric (const MuMsgField *field) type = mu_msg_field_type (field); - return type == MU_MSG_FIELD_TYPE_BYTESIZE || + return type == MU_MSG_FIELD_TYPE_BYTESIZE || type == MU_MSG_FIELD_TYPE_TIME_T || type == MU_MSG_FIELD_TYPE_INT; } diff --git a/src/mu-store-xapian.cc b/src/mu-store-xapian.cc index 3e24ab3b..6823fd4a 100644 --- a/src/mu-store-xapian.cc +++ b/src/mu-store-xapian.cc @@ -76,7 +76,6 @@ mu_store_xapian_new (const char* path) } - void mu_store_xapian_destroy (MuStoreXapian *store) {