Fix one more InitReadNames call

develop
Petr Mrázek 2010-03-23 00:37:35 +01:00
parent efadfe98b2
commit 13fcdb8b8f
1 changed files with 2 additions and 1 deletions

@ -1110,9 +1110,10 @@ bool API::ReadNote (const int32_t index, t_note & note)
}
bool API::InitReadSettlements( uint32_t & numsettlements )
{
if(!d->InitReadNames()) return false;
try
{
d->InitReadNames();
memory_info * minfo = d->offset_descriptor;
int allSettlements = minfo->getAddress ("settlements");
int currentSettlement = minfo->getAddress("settlement_current");