{"Currency", 127, 1, OPT},
{"Euro", 127, 1, OPT},
{"DM", 127, 1, OPT},
- {NULL, 0, 0}
+ {NULL, 0, 0, 0}
};
#define A_TRANS 0
#else
{"Betrag-DM", 50, 11, IGN},
#endif
- {NULL, 0, 0}
+ {NULL, 0, 0, 0}
};
#define C_NAME 0
#else
{"Summe-DM", 17, 13, IGN},
#endif
- {NULL, 0, 0}
+ {NULL, 0, 0, 0}
};
#define E_COUNT 0
} else {
len = strlen(line);
if (recindex == C_VAL) {
- /* Convert commast to dots for later processing */
+ /* Convert commas to dots for later processing */
for (i=0; line[i]; i++) if (line[i] == ',') line[i] = '.';
- if ((cp = index (line, '.')) == NULL) {
+ if ((cp = strchr (line, '.')) == NULL) {
if (!(valC[recindex] = (char *)malloc (strlen(line)+4)))
return 0;
sprintf (valC[recindex], "%s.00", line);