Changeset 62c7c77e091368d89d5f9699dd6185177dd37f4b
- Timestamp:
- 08/26/10 21:27:02 (21 months ago)
- Author:
- Antti-Juhani Kaijanaho <antti-juhani@…>
- Children:
- 654bb6066f0a41076097ffd2498c04805e4d7276
- Parents:
- 1a490d9fa05ba426833f949deac03729e3e6a8dc
- git-committer:
- Antti-Juhani Kaijanaho <antti-juhani@…> (08/26/10 21:27:02)
- Message:
-
[tlate::thread_value] Bugfixes
Signed-off-by: Antti-Juhani Kaijanaho <antti-juhani@…>
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r43f5212
|
r62c7c77
|
|
| 31 | 31 | |
| 32 | 32 | tnl.push_back(tn); |
| 33 | | for (tl::const_iterator it = tnl.begin(); it != tnl.end(); it++) |
| | 33 | for (size_t i = 0; i < tnl.size(); i++) |
| 34 | 34 | { |
| 35 | | const tlnc &itch = (*it)->get_children(); |
| | 35 | const tlnc &itch = tnl[i]->get_children(); |
| 36 | 36 | for (tlnc::const_iterator jt = itch.begin(); |
| 37 | 37 | jt != itch.end(); jt++) |
| … |
… |
|
| 51 | 51 | } |
| 52 | 52 | if (start > 0) tnl.erase(tnl.begin(), tnl.begin()+start); |
| 53 | | if (length > tnl.size()) |
| | 53 | if (length < tnl.size()) |
| 54 | 54 | tnl.erase(tnl.begin()+length, tnl.end()); |
| 55 | 55 | } |