Changeset dd0c8a0 in mainline for uspace/app/edit/sheet.c
- Timestamp:
- 2013-09-29T06:56:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9bd960d
- Parents:
- 3deb0155 (diff), 13be2583 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/sheet.c
r3deb0155 rdd0c8a0 105 105 char *ipp; 106 106 size_t sz; 107 tag_t *tag;108 107 char *newp; 109 108 … … 128 127 /* Adjust tags. */ 129 128 130 list_foreach(sh->tags, link) { 131 tag = list_get_instance(link, tag_t, link); 132 129 list_foreach(sh->tags, link, tag_t, tag) { 133 130 if (tag->b_off > pos->b_off) 134 131 tag->b_off += sz; … … 154 151 char *spp; 155 152 size_t sz; 156 tag_t *tag;157 153 char *newp; 158 154 size_t shrink_size; … … 165 161 166 162 /* Adjust tags. */ 167 list_foreach(sh->tags, link) { 168 tag = list_get_instance(link, tag_t, link); 169 163 list_foreach(sh->tags, link, tag_t, tag) { 170 164 if (tag->b_off >= epos->b_off) 171 165 tag->b_off -= sz;
Note:
See TracChangeset
for help on using the changeset viewer.