Subversion Repositories SvarDOS

Rev

Rev 1299 | Rev 1373 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1299 Rev 1300
Line 33... Line 33...
33
#define FSEEK(f,b) fseek(f,b,SEEK_CUR)
33
#define FSEEK(f,b) fseek(f,b,SEEK_CUR)
34
#define FREAD(f,t,b) fread(t, 1, b, f)
34
#define FREAD(f,t,b) fread(t, 1, b, f)
35
 
35
 
36
#else
36
#else
37
 
37
 
38
#include <i86.h>
38
#include <i86.h>  /* FP_SEG, FP_OFF */
39
typedef unsigned short FHANDLE;
39
typedef unsigned short FHANDLE;
40
 
40
 
41
#endif
41
#endif
42
 
42
 
43
 
43
 
Line 212... Line 212...
212
 
212
 
213
    /* load dictionary & strings */
213
    /* load dictionary & strings */
214
    if ((FREAD(fd, svarlang_dict, svarlang_string_count * 4) != svarlang_string_count * 4) ||
214
    if ((FREAD(fd, svarlang_dict, svarlang_string_count * 4) != svarlang_string_count * 4) ||
215
       (FREAD(fd, svarlang_mem, buff16[1]) != buff16[1])) {
215
       (FREAD(fd, svarlang_mem, buff16[1]) != buff16[1])) {
216
      FCLOSE(fd);
216
      FCLOSE(fd);
217
      return -7;
217
      return(-7);
218
    }
218
    }
219
    FCLOSE(fd);
219
    FCLOSE(fd);
220
    return(0);
220
    return(0);
221
  }
221
  }
222
 
222