Changeset 0c834c5 in buchla-68k for ram/idselbx.c
- Timestamp:
- 07/08/2017 05:56:38 PM (7 years ago)
- Branches:
- master
- Children:
- 60288f5
- Parents:
- 342a56f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/idselbx.c
r342a56f r0c834c5 15 15 #include "instdsp.h" 16 16 17 extern short (*itxput)();17 extern void (*itxput)(short row, short col, char *txt, short tag); 18 18 19 19 extern void lseg(short x1, short y1, short x2, short y2, short t); … … 43 43 extern short pntsv, pecase, stccol, subj, submenu; 44 44 45 extern unsignedtemin, temax;45 extern short temin, temax; 46 46 47 47 extern struct selbox *csbp, *curboxp; … … 65 65 66 66 short bx_null(void); 67 shortidfnbox(short n);67 void idfnbox(short n); 68 68 69 69 /* … … 435 435 */ 436 436 437 shortidfnbox(short n)437 void idfnbox(short n) 438 438 { 439 439 register short col, i, row; … … 453 453 /* handle data entry special case for resonance in filter fn. */ 454 454 455 if ((curfunc EQ 4) AND (row EQ 5) AND (col EQ 62)) 456 return(enterit()); 455 if ((curfunc EQ 4) AND (row EQ 5) AND (col EQ 62)) { 456 enterit(); 457 return; 458 } 457 459 458 460 switch (pntsv) { /* dispatch off of point select state */ … … 484 486 } 485 487 486 return (TRUE);488 return; 487 489 488 490 } else if (hitbox EQ 18) { /* configuration */ … … 491 493 492 494 wcmenu(0); 493 return (TRUE);495 return; 494 496 495 497 } else { 496 498 497 return(enterit()); 499 enterit(); 500 return; 498 501 } 499 502 /* … … 534 537 } 535 538 536 return (SUCCESS);539 return; 537 540 538 541 } else { 539 542 540 return(enterit()); /* do data entry */ 543 enterit(); /* do data entry */ 544 return; 541 545 } 542 546 /* … … 548 552 549 553 wcmenu(1); 550 return (TRUE);554 return; 551 555 552 556 } else { 553 557 554 return(enterit()); 558 enterit(); 559 return; 555 560 } 556 561 … … 587 592 } 588 593 589 return (TRUE);594 return; 590 595 /* 591 596 … … 617 622 618 623 setgc(ICURX, ICURY); /* put cursor in center */ 619 return (TRUE);624 return; 620 625 } 621 622 return(FALSE); 623 } 626 }
Note:
See TracChangeset
for help on using the changeset viewer.