Changeset 841 for trunk/dll/viewer.c
- Timestamp:
- Sep 23, 2007, 6:27:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/viewer.c
r793 r841 19 19 #define INCL_DOS 20 20 #define INCL_WIN 21 #define INCL_LONGLONG 21 22 #include <os2.h> 22 23 … … 790 791 if (!MLEgetreadonly(hwndMLE)) { 791 792 792 LONG oldsize;793 LONGLONG oldsize; 793 794 794 795 if (!*vw->exportfilename || … … 808 809 fp = xfopen(vw->exportfilename, "r+", pszSrcFile, __LINE__); 809 810 if (fp) { 810 oldsize = filelength(fileno(fp));811 DosSetFileSize (fileno(fp), 0);811 oldsize = _filelengthi64(fileno(fp)); 812 DosSetFileSizeL(fileno(fp), 0); 812 813 fclose(fp); 813 814 } … … 822 823 fp = xfopen(vw->exportfilename, "r+", pszSrcFile, __LINE__); 823 824 if (fp) { 824 DosSetFileSize (fileno(fp), oldsize);825 DosSetFileSizeL(fileno(fp), oldsize); 825 826 fclose(fp); 826 827 }
Note:
See TracChangeset
for help on using the changeset viewer.