Changes in uspace/app/edit/sheet.c [7feb86e6:feeac0d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/sheet.c
r7feb86e6 rfeeac0d 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.