Commit 973841de authored by claes's avatar claes

Bugfix in parse, first segment was not correct for top objects

parent 998e39d0
/*
* Proview $Id: wb_nrep.cpp,v 1.13 2005-09-06 10:43:31 claes Exp $
* Proview $Id: wb_nrep.cpp,v 1.14 2006-06-07 15:12:06 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -394,7 +394,7 @@ void wb_nrep::parse () throw (wb_error)
} else if ( *s == '.') {
if ( s != oname) {
seg[0].offs = 0;
seg[0].offs = nameDiff( s, oname);
seg[0].len = nameDiff( s, oname);
num_seg++;
}
attr[0].offs = nameDiff( s+1, oname);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment