--- np2/common/textfile.c 2004/06/20 11:19:45 1.3 +++ np2/common/textfile.c 2005/03/18 09:23:10 1.5 @@ -3,7 +3,7 @@ #include "textfile.h" -static BOOL getnextstrings(TEXTFILEH fh) { +static BRESULT getnextstrings(TEXTFILEH fh) { UINT rsize; @@ -23,7 +23,7 @@ static BOOL getnextstrings(TEXTFILEH fh) return(SUCCESS); } -TEXTFILEH textfile_open(const char *filename, UINT buffersize) { +TEXTFILEH textfile_open(const OEMCHAR *filename, UINT buffersize) { FILEH fh; TEXTFILEH ret; @@ -72,12 +72,12 @@ void textfile_close(TEXTFILEH fh) { } } -BOOL textfile_read(TEXTFILEH fh, char *buffer, UINT size) { +BRESULT textfile_read(TEXTFILEH fh, OEMCHAR *buffer, UINT size) { char c = '\0'; char *p; BOOL crlf; - BOOL ret = FAILURE; + BRESULT ret = FAILURE; if ((fh) && (size > 0)) { size--;