Changes in uspace/app/edit/sheet.c [feeac0d:7feb86e6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/sheet.c
rfeeac0d r7feb86e6 105 105 char *ipp; 106 106 size_t sz; 107 tag_t *tag; 107 108 char *newp; 108 109 … … 127 128 /* Adjust tags. */ 128 129 129 list_foreach(sh->tags, link, tag_t, tag) { 130 list_foreach(sh->tags, link) { 131 tag = list_get_instance(link, tag_t, link); 132 130 133 if (tag->b_off > pos->b_off) 131 134 tag->b_off += sz; … … 151 154 char *spp; 152 155 size_t sz; 156 tag_t *tag; 153 157 char *newp; 154 158 size_t shrink_size; … … 161 165 162 166 /* Adjust tags. */ 163 list_foreach(sh->tags, link, tag_t, tag) { 167 list_foreach(sh->tags, link) { 168 tag = list_get_instance(link, tag_t, link); 169 164 170 if (tag->b_off >= epos->b_off) 165 171 tag->b_off -= sz;
Note:
See TracChangeset
for help on using the changeset viewer.