Changeset 8d0af8a in buchla-68k for ram/nedacc.c
- Timestamp:
- 11/15/2017 08:04:44 PM (6 years ago)
- Branches:
- master
- Children:
- 3c45656
- Parents:
- 58ff1a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/nedacc.c
r58ff1a9 r8d0af8a 83 83 } 84 84 85 if ( E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) {85 if ((struct n_entry *)E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) { 86 86 87 87 #if DEBUGIT … … 119 119 DB_ENTR("ned_nat"); 120 120 121 if ( E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) {121 if ((struct n_entry *)E_NULL NE (ep = (struct n_entry *)e_alc(E_SIZE1))) { 122 122 123 123 #if DEBUGIT … … 229 229 DB_CMNT("nedesub - note begin / fini hit"); 230 230 231 if (E_NULL NE (np = (struct n_entry *)e_alc(E_SIZE1))) { 231 if ((struct n_entry *)E_NULL NE 232 (np = (struct n_entry *)e_alc(E_SIZE1))) { 232 233 233 234 #if DEBUGIT … … 373 374 DB_CMNT("ned_mvn - clipping out begin"); 374 375 375 if (p_bak EQ bp)376 if (p_bak EQ (struct s_entry *)bp) 376 377 p_bak = bp->e_fwd; 377 378 378 if (p_ctr EQ bp)379 if (p_ctr EQ (struct s_entry *)bp) 379 380 p_ctr = bp->e_fwd; 380 381 381 if (p_cur EQ bp)382 if (p_cur EQ (struct s_entry *)bp) 382 383 p_cur = bp->e_fwd; 383 384 384 if (p_fwd EQ bp)385 if (p_fwd EQ (struct s_entry *)bp) 385 386 p_fwd = bp->e_fwd; 386 387 … … 391 392 DB_CMNT("ned_mvn - clipping out end"); 392 393 393 if (p_bak EQ ep)394 if (p_bak EQ (struct s_entry *)ep) 394 395 p_bak = ep->e_fwd; 395 396 396 if (p_ctr EQ ep)397 if (p_ctr EQ (struct s_entry *)ep) 397 398 p_ctr = ep->e_fwd; 398 399 399 if (p_cur EQ ep)400 if (p_cur EQ (struct s_entry *)ep) 400 401 p_cur = ep->e_fwd; 401 402 402 if (p_fwd EQ ep)403 if (p_fwd EQ (struct s_entry *)ep) 403 404 p_fwd = ep->e_fwd; 404 405 … … 422 423 } else { 423 424 424 if ( E_NULL NE fcnote(grp, cnote)) {425 if ((struct n_entry *)E_NULL NE fcnote(grp, cnote)) { 425 426 426 427 notesel = TRUE; /* note selected */ … … 430 431 } else if (-1 NE (note = accnote())) { 431 432 432 if (E_NULL NE (bp = fcnote(grp, note))) { 433 if ((struct n_entry *)E_NULL NE 434 (bp = fcnote(grp, note))) { 433 435 434 436 notesel = TRUE; /* note selected */ … … 475 477 DB_CMNT("ned_mvb - clipping out begin"); 476 478 477 if (p_bak EQ bp)479 if (p_bak EQ (struct s_entry *)bp) 478 480 p_bak = bp->e_fwd; 479 481 480 if (p_ctr EQ bp)482 if (p_ctr EQ (struct s_entry *)bp) 481 483 p_ctr = bp->e_fwd; 482 484 483 if (p_cur EQ bp)485 if (p_cur EQ (struct s_entry *)bp) 484 486 p_cur = bp->e_fwd; 485 487 486 if (p_fwd EQ bp)488 if (p_fwd EQ (struct s_entry *)bp) 487 489 p_fwd = bp->e_fwd; 488 490 … … 502 504 } else { 503 505 504 if ( E_NULL NE fcnote(grp, cnote)) { /* natural ? */506 if ((struct n_entry *)E_NULL NE fcnote(grp, cnote)) { /* natural ? */ 505 507 506 508 notesel = TRUE; /* note selected */ … … 510 512 } else if (-1 NE (note = accnote())) { /* accidental ? */ 511 513 512 if (E_NULL NE (bp = fcnote(grp, note))) { 514 if ((struct n_entry *)E_NULL NE 515 (bp = fcnote(grp, note))) { 513 516 514 517 notesel = TRUE; /* note selected */ … … 555 558 DB_CMNT("ned_mve - clipping out end"); 556 559 557 if (p_bak EQ ep)560 if (p_bak EQ (struct s_entry *)ep) 558 561 p_bak = ep->e_fwd; 559 562 560 if (p_ctr EQ ep)563 if (p_ctr EQ (struct s_entry *)ep) 561 564 p_ctr = ep->e_fwd; 562 565 563 if (p_cur EQ ep)566 if (p_cur EQ (struct s_entry *)ep) 564 567 p_cur = ep->e_fwd; 565 568 566 if (p_fwd EQ ep)569 if (p_fwd EQ (struct s_entry *)ep) 567 570 p_fwd = ep->e_fwd; 568 571 … … 582 585 } else { 583 586 584 if ( E_NULL NE fcnote(grp, cnote)) { /* natural ? */587 if ((struct n_entry *)E_NULL NE fcnote(grp, cnote)) { /* natural ? */ 585 588 586 589 notesel = TRUE; /* note selected */ … … 590 593 } else if (-1 NE (note = accnote())) { 591 594 592 if (E_NULL NE (bp = fcnote(grp, note))) { /* accidental ? */ 595 if ((struct n_entry *)E_NULL NE 596 (bp = fcnote(grp, note))) { /* accidental ? */ 593 597 594 598 notesel = TRUE; /* note selected */
Note:
See TracChangeset
for help on using the changeset viewer.