Lines 1148-1154
Link Here
|
1148 |
/* search for "field", count data size and make datablock. return skipdata */ |
1148 |
/* search for "field", count data size and make datablock. return skipdata */ |
1149 |
float *fp; |
1149 |
float *fp; |
1150 |
int len, stackcount, skipdata=0; |
1150 |
int len, stackcount, skipdata=0; |
1151 |
char *cpa, terminator, str[64]; |
1151 |
char *cpa, terminator, str[64], *tmp; |
1152 |
long i; |
1152 |
long i; |
1153 |
|
1153 |
|
1154 |
len= strlen(field); |
1154 |
len= strlen(field); |
Lines 1193-1200
Link Here
|
1193 |
* in a long string at Windows... so we copy |
1193 |
* in a long string at Windows... so we copy |
1194 |
* the float to a new string then atof... */ |
1194 |
* the float to a new string then atof... */ |
1195 |
|
1195 |
|
1196 |
i= (long)(strpbrk(cpa, ", \n")-cpa); |
1196 |
while (strpbrk(cpa, ", \n") != tmp) { |
1197 |
|
1197 |
tmp++; |
|
|
1198 |
i++; |
1199 |
} |
1200 |
|
1198 |
if (i>63) *fp= 0.0; |
1201 |
if (i>63) *fp= 0.0; |
1199 |
else { |
1202 |
else { |
1200 |
memcpy(str, cpa, i); |
1203 |
memcpy(str, cpa, i); |