mirror of https://github.com/djcb/mu.git
* minor change
(try to workaround https://code.google.com/p/mu0/issues/detail?id=79, though I can't reproduce it at all)
This commit is contained in:
parent
0277967b53
commit
0de40a2f93
|
@ -455,9 +455,11 @@ static void
|
|||
output_plain_fields (MuMsg *msg, const char *fields,
|
||||
gboolean color, gboolean threads)
|
||||
{
|
||||
const char* myfields;
|
||||
int nonempty;
|
||||
const char* myfields;
|
||||
int nonempty;
|
||||
|
||||
g_return_if_fail (fields);
|
||||
|
||||
for (myfields = fields, nonempty = 0; *myfields; ++myfields) {
|
||||
|
||||
MuMsgFieldId mfid;
|
||||
|
|
|
@ -180,7 +180,7 @@ set_group_find_defaults (void)
|
|||
/* note, when no fields are specified, we use
|
||||
* date-from-subject, and sort descending by date. If fields
|
||||
* *are* specified, we sort in ascending order. */
|
||||
if (!MU_CONFIG.fields) {
|
||||
if (!MU_CONFIG.fields || !*MU_CONFIG.fields) {
|
||||
MU_CONFIG.fields = "d f s";
|
||||
if (!MU_CONFIG.sortfield)
|
||||
MU_CONFIG.sortfield = "d";
|
||||
|
|
Loading…
Reference in New Issue