| 1021 | } |
| 1022 | |
| 1023 | void |
| 1024 | exportascii_sfi_short(NHFILE *nhfp, short *d_short, const char *myname UNUSED) |
| 1025 | { |
| 1026 | xint16 tmp; |
| 1027 | int itmp; |
| 1028 | char *rstr; |
| 1029 | |
| 1030 | rstr = get_savefield(nhfp, linebuf, BUFSZ); |
| 1031 | itmp = atoi(rstr); |
| 1032 | tmp = (xint16) itmp; |
| 1033 | #ifdef SAVEFILE_DEBUGGING |
| 1034 | if (nhfp->structlevel && tmp != *d_short) |
| 1035 | report_problem_ascii(nhfp, "", myname, parent); |
| 1036 | else |
| 1037 | #endif |
| 1038 | *d_short = tmp; |
| 1039 | d_short++; |
| 1040 | } |
| 1041 | |
| 1042 | |
| 1043 | void |
nothing calls this directly
no test coverage detected