Diff for /np2/common/textfile.c between versions 1.3 and 1.4

version 1.3, 2004/06/20 11:19:45 version 1.4, 2005/02/07 14:46:08
Line 3 Line 3
 #include        "textfile.h"  #include        "textfile.h"
   
   
 static BOOL getnextstrings(TEXTFILEH fh) {  static BRESULT getnextstrings(TEXTFILEH fh) {
   
         UINT    rsize;          UINT    rsize;
   
Line 23  static BOOL getnextstrings(TEXTFILEH fh) Line 23  static BOOL getnextstrings(TEXTFILEH fh)
         return(SUCCESS);          return(SUCCESS);
 }  }
   
 TEXTFILEH textfile_open(const char *filename, UINT buffersize) {  TEXTFILEH textfile_open(const OEMCHAR *filename, UINT buffersize) {
   
         FILEH           fh;          FILEH           fh;
         TEXTFILEH       ret;          TEXTFILEH       ret;
Line 72  void textfile_close(TEXTFILEH fh) { Line 72  void textfile_close(TEXTFILEH fh) {
         }          }
 }  }
   
 BOOL textfile_read(TEXTFILEH fh, char *buffer, UINT size) {  BRESULT textfile_read(TEXTFILEH fh, char *buffer, UINT size) {
   
         char    c = '\0';          char    c = '\0';
         char    *p;          char    *p;
         BOOL    crlf;          BOOL    crlf;
         BOOL    ret = FAILURE;          BRESULT ret = FAILURE;
   
         if ((fh) && (size > 0)) {          if ((fh) && (size > 0)) {
                 size--;                  size--;

Removed from v.1.3  
changed lines
  Added in v.1.4


RetroPC.NET-CVS <cvs@retropc.net>