Refs #94: Copying column parameter for multiple defined columns.

This commit is contained in:
Kolan Sh 2014-12-12 13:46:13 +06:30
parent 4b7b5d85c0
commit e43431c50e
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ namespace LAview {
col_param.nrlines = wlen - 1 - nrlines;
// Bug #94: Parse Multiple defined columns in the tabular/longtable.
while (count-- > 0) col_params.insert (0, col_param);
while (count-- > 0) col_params.insert (0, col_param.copy ());
match_info.next ();
}

View File

@ -107,7 +107,7 @@ namespace LAview {
col_param.nrlines = wlen - 1 - nrlines;
// Bug #94: Parse Multiple defined columns in the tabular/longtable.
while (count-- > 0) col_params.insert (0, col_param);
while (count-- > 0) col_params.insert (0, col_param.copy ());
match_info.next ();
}