Changeset 72741f4 in buchla-68k for ram/delnote.c
- Timestamp:
- 11/15/2017 07:28:55 PM (6 years ago)
- Branches:
- master
- Children:
- 00c31a2
- Parents:
- 7c5def4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/delnote.c
r7c5def4 r72741f4 78 78 /* scan right from note begin until: */ 79 79 80 ep = bp->e_fwd;80 ep = (struct n_entry *)bp->e_fwd; 81 81 scantag = TRUE; 82 82 … … 102 102 103 103 if (cp EQ ep) 104 cp = cp->e_bak;104 cp = (struct n_entry *)cp->e_bak; 105 105 106 106 if (p_ctr EQ ep) … … 116 116 p_cur = p_cur->e_bak; 117 117 118 e_del(e_rmv( ep));118 e_del(e_rmv((struct s_entry *)ep)); 119 119 120 120 /* delete note begin */ 121 121 122 122 if (cp EQ bp) 123 cp = cp->e_bak;123 cp = (struct n_entry *)cp->e_bak; 124 124 125 125 if (p_ctr EQ bp) … … 135 135 p_cur = p_cur->e_bak; 136 136 137 e_del(e_rmv( bp));137 e_del(e_rmv((struct s_entry *)bp)); 138 138 139 139 disptag = TRUE; … … 149 149 150 150 if (cp EQ bp) 151 cp = cp->e_bak;151 cp = (struct n_entry *)cp->e_bak; 152 152 153 153 if (p_ctr EQ bp) … … 163 163 p_cur = p_cur->e_bak; 164 164 165 e_del(e_rmv( bp));165 e_del(e_rmv((struct s_entry *)bp)); 166 166 167 167 disptag = TRUE; … … 173 173 /* scan right */ 174 174 175 ep = ep->e_fwd;175 ep = (struct n_entry *)ep->e_fwd; 176 176 177 177 } /* end while (scantag) */ … … 181 181 /* scan left */ 182 182 183 bp = bp->e_bak;183 bp = (struct n_entry *)bp->e_bak; 184 184 185 185 } /* end while (runtag) */ … … 207 207 /* search current time for a bar marker - delete any found */ 208 208 209 ep = ep_adj(p_cur, 1, ctime);209 ep = (struct n_entry *)ep_adj(p_cur, 1, ctime); 210 210 211 211 while (ctime EQ ep->e_time) { 212 212 213 bp = ep->e_fwd;213 bp = (struct n_entry *)ep->e_fwd; 214 214 215 215 if (EV_BAR EQ ep->e_type) { … … 227 227 p_fwd = p_fwd->e_bak; 228 228 229 e_del(e_rmv( ep));229 e_del(e_rmv((struct s_entry *)ep)); 230 230 disptag = TRUE; 231 231 }
Note:
See TracChangeset
for help on using the changeset viewer.