- Fixed segmentation fault if undo.data is empty
This commit is contained in:
Johannes Schlatow 2010-09-02 01:24:58 +02:00
parent 87ce13c8e0
commit d362088305

View file

@ -1111,8 +1111,10 @@ void TDB::merge (const std::string& mergeFile)
rit = r.begin ();
lit = l.begin ();
rline = *rit;
lline = *lit;
if (rit != r.end())
rline = *rit;
if (lit != l.end())
lline = *lit;
///////////////////////////////////////
// find the branch-off point: