- Timestamp:
- 11/12/2017 09:53:45 PM (7 years ago)
- Branches:
- master
- Children:
- 83a374d
- Parents:
- 4b0e2ef
- Location:
- ram
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ram/etimlt.c
r4b0e2ef r8438fb1 60 60 fp = &ip->idhfnc[curfunc]; 61 61 62 ebuf[0] = '0' + fp->idfsrc;62 ebuf[0] = (int8_t)('0' + fp->idfsrc); 63 63 fr2dec(fp->idfmlt, &ebuf[1]); 64 64 ebuf[5] = '\0'; … … 145 145 } 146 146 147 fp->idfsrc = srctmp; /* set the source */148 objclr(TTCPRI); /* turn off the menu cursor */149 idvlblc(); /* blank the menu area */147 fp->idfsrc = (int8_t)srctmp; /* set the source */ 148 objclr(TTCPRI); /* turn off the menu cursor */ 149 idvlblc(); /* blank the menu area */ 150 150 modinst(); 151 dswin(22); /* refresh the screen */151 dswin(22); /* refresh the screen */ 152 152 153 153 } else if (stccol LT 8) { /* selecting the source */ … … 261 261 case 3: /* 3rd digit position */ 262 262 263 ebuf[ec] = k + '0';264 dspbuf[0] = k + '0'; /* setup display buffer */263 ebuf[ec] = (int8_t)(k + '0'); 264 dspbuf[0] = (int8_t)(k + '0'); /* setup display buffer */ 265 265 break; 266 266 -
ram/etires.c
r4b0e2ef r8438fb1 37 37 return(FAILURE); 38 38 39 ebuf[0] = '0' + vbufs[curvce].idhfnc[4].idfprm;39 ebuf[0] = (int8_t)('0' + vbufs[curvce].idhfnc[4].idfprm); 40 40 ebuf[1] = '\0'; 41 41 ebflag = TRUE; … … 61 61 ebflag = FALSE; 62 62 tmpval = ebuf[0] - '0'; 63 vbufs[curvce].idhfnc[4].idfprm = tmpval;63 vbufs[curvce].idhfnc[4].idfprm = (int8_t)tmpval; 64 64 sendval(curvce, 6, rsntab[tmpval]); 65 65 modinst(); … … 82 82 return(FAILURE); 83 83 84 dspbuf[0] = '0' + fp->idfprm;84 dspbuf[0] = (int8_t)('0' + fp->idfprm); 85 85 dspbuf[1] = '\0'; 86 86 … … 105 105 return(FAILURE); 106 106 107 dspbuf[0] = ebuf[0] = k + '0';107 dspbuf[0] = ebuf[0] = (int8_t)(k + '0'); 108 108 dspbuf[1] = ebuf[1] = '\0'; 109 109
Note:
See TracChangeset
for help on using the changeset viewer.