mirror of https://github.com/djcb/mu.git
* mu-msg-fields.c, mu-store-xapian.cc: cosmetics
This commit is contained in:
parent
1c666c91a0
commit
7265485fb0
|
@ -30,7 +30,7 @@ typedef enum _FieldFlags FieldFlags;
|
||||||
struct _MuMsgField {
|
struct _MuMsgField {
|
||||||
const char *_name;
|
const char *_name;
|
||||||
const char *_shortcut;
|
const char *_shortcut;
|
||||||
const char *_prefix;
|
const char *_prefix; /* xapian prefix */
|
||||||
MuMsgFieldId _id;
|
MuMsgFieldId _id;
|
||||||
MuMsgFieldType _type;
|
MuMsgFieldType _type;
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ static const MuMsgField FIELD_DATA[] = {
|
||||||
{ "prio", "P", "I",
|
{ "prio", "P", "I",
|
||||||
MU_MSG_FIELD_ID_PRIORITY,
|
MU_MSG_FIELD_ID_PRIORITY,
|
||||||
MU_MSG_FIELD_TYPE_INT,
|
MU_MSG_FIELD_TYPE_INT,
|
||||||
FLAG_XAPIAN | FLAG_GMIME
|
FLAG_XAPIAN | FLAG_GMIME | FLAG_INDEX
|
||||||
},
|
},
|
||||||
|
|
||||||
{ "size", "z", "Z",
|
{ "size", "z", "Z",
|
||||||
|
@ -218,7 +218,7 @@ mu_msg_field_is_numeric (const MuMsgField *field)
|
||||||
|
|
||||||
type = mu_msg_field_type (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_TIME_T ||
|
||||||
type == MU_MSG_FIELD_TYPE_INT;
|
type == MU_MSG_FIELD_TYPE_INT;
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,6 @@ mu_store_xapian_new (const char* path)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
mu_store_xapian_destroy (MuStoreXapian *store)
|
mu_store_xapian_destroy (MuStoreXapian *store)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue