mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
A3t
- Fixed segfault caused by combined map lookup and method call.
This commit is contained in:
parent
8d10d81198
commit
fff1ae2d6e
1 changed files with 6 additions and 1 deletions
|
@ -629,8 +629,13 @@ void A3t::findAttributeModifier ()
|
||||||
(*i)->attribute ("modifier", modifier);
|
(*i)->attribute ("modifier", modifier);
|
||||||
(*i)->attribute ("sense", sense);
|
(*i)->attribute ("sense", sense);
|
||||||
|
|
||||||
if (context.columns[canonical]->modifiable ())
|
std::map <std::string, Column*>::const_iterator col;
|
||||||
|
col = context.columns.find (canonical);
|
||||||
|
if (col != context.columns.end () &&
|
||||||
|
col->second->modifiable ())
|
||||||
|
{
|
||||||
(*i)->tag ("MODIFIABLE");
|
(*i)->tag ("MODIFIABLE");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue