Allow CALC to be 40 characters. Increase rpbuf from 184 to 200
This commit is contained in:
@@ -148,7 +148,7 @@ static long init_record(pcalc,pass)
|
||||
int i;
|
||||
double *pvalue;
|
||||
short error_number;
|
||||
char rpbuf[184];
|
||||
char rpbuf[200];
|
||||
|
||||
if (pass==0) return(0);
|
||||
|
||||
@@ -198,7 +198,7 @@ static long special(paddr,after)
|
||||
struct calcRecord *pcalc = (struct calcRecord *)(paddr->precord);
|
||||
int special_type = paddr->special;
|
||||
short error_number;
|
||||
char rpbuf[184];
|
||||
char rpbuf[200];
|
||||
|
||||
if(!after) return(0);
|
||||
switch(special_type) {
|
||||
|
||||
@@ -9,7 +9,7 @@ recordtype(calc) {
|
||||
promptgroup(GUI_CALC)
|
||||
special(SPC_CALC)
|
||||
pp(TRUE)
|
||||
size(36)
|
||||
size(40)
|
||||
}
|
||||
field(INPA,DBF_INLINK) {
|
||||
prompt("Input A")
|
||||
@@ -286,7 +286,7 @@ recordtype(calc) {
|
||||
prompt("Reverse Polish Calc")
|
||||
special(SPC_NOMOD)
|
||||
interest(4)
|
||||
size(184)
|
||||
extra("char rpcl[184]")
|
||||
size(200)
|
||||
extra("char rpcl[200]")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user