Slight modification to make it use the new config class calling convention

This commit is contained in:
Marius Nita 2002-08-26 06:39:06 +00:00
parent 483b8496d6
commit 8857fa2c24

View file

@ -220,7 +220,9 @@ void keytree::setCurrentNodeProps(Action::ActionType action, unsigned int mask,
void keytree::initialize(void)
{
int tval = _epist->getConfig()->getNumberValue(Config::chainTimeout);
int tval = 0;
_epist->getConfig()->getNumberValue(Config::chainTimeout, tval);
_timer = new BTimer(_epist, this);
if (tval <= 0)