Diff for /np2/win9x/oemtext.cpp between versions 1.1 and 1.3

version 1.1, 2005/02/09 20:11:35 version 1.3, 2005/03/19 20:46:07
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
   
 #if defined(OSLANG_UTF8)  #if defined(OSLANG_UTF8)
 UINT oemtext_sjis2oem(char *dst, UINT dcnt, const char *src, UINT scnt) {  UINT oemtext_sjistooem(char *dst, UINT dcnt, const char *src, UINT scnt) {
   
         UINT    leng;          UINT    leng;
         UINT16  *ucs2;          UINT16  *ucs2;
Line 23  UINT oemtext_sjis2oem(char *dst, UINT dc Line 23  UINT oemtext_sjis2oem(char *dst, UINT dc
         return(ret);          return(ret);
 }  }
   
 UINT oemtext_oem2sjis(char *dst, UINT dcnt, const char *src, UINT scnt) {  UINT oemtext_oemtosjis(char *dst, UINT dcnt, const char *src, UINT scnt) {
   
         UINT    leng;          UINT    leng;
         UINT16  *ucs2;          UINT16  *ucs2;
Line 43  UINT oemtext_oem2sjis(char *dst, UINT dc Line 43  UINT oemtext_oem2sjis(char *dst, UINT dc
         ret = WideCharToMultiByte(CP_ACP, 0, ucs2, leng, dst, dcnt, NULL, NULL);          ret = WideCharToMultiByte(CP_ACP, 0, ucs2, leng, dst, dcnt, NULL, NULL);
         _MFREE(ucs2);          _MFREE(ucs2);
         return(ret);          return(ret);
   
 }  }
 #endif  #endif
   

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


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