* mu-msg-fields.c, mu-store-xapian.cc: cosmetics

This commit is contained in:
Dirk-Jan C. Binnema 2009-11-26 20:30:15 +02:00
parent 1c666c91a0
commit 7265485fb0
2 changed files with 4 additions and 5 deletions

View File

@ -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;
}

View File

@ -76,7 +76,6 @@ mu_store_xapian_new (const char* path)
}
void
mu_store_xapian_destroy (MuStoreXapian *store)
{