Diff for /np2/win9x/win32sub.cpp between versions 1.3 and 1.4

version 1.3, 2007/07/20 14:39:11 version 1.4, 2007/10/26 14:38:34
Line 19  void __msgbox(const char *title, const c Line 19  void __msgbox(const char *title, const c
   
   
 // WinAPIだと Win95でバグあるの  // WinAPIだと Win95でバグあるの
 static int loadstringresource(HINSTANCE hInstance, UINT uID,  int loadstringresource(HINSTANCE hInstance, UINT uID,
                                                                                 LPTSTR lpBuffer, int nBufferMax) {                                                                                  LPTSTR lpBuffer, int nBufferMax) {
   
         HMODULE hModule;          HMODULE hModule;
Line 74  static int loadstringresource(HINSTANCE  Line 74  static int loadstringresource(HINSTANCE 
                 lpBuffer = NULL;                  lpBuffer = NULL;
                 nBufferMax = 0;                  nBufferMax = 0;
         }          }
         nLength = WideCharToMultiByte(CP_ACP, 0, pRes + dwPos, nLength,          nLength = WideCharToMultiByte(CP_ACP, 0, (WCHAR *)(pRes + dwPos), nLength,
                                                                                         lpBuffer, nBufferMax, NULL, NULL);                                                                                          lpBuffer, nBufferMax, NULL, NULL);
         if (lpBuffer) {          if (lpBuffer) {
                 lpBuffer[nLength] = '\0';                  lpBuffer[nLength] = '\0';

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


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