Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/ttpset/ttset.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9244 by zmatsuo, Mon May 10 14:12:02 2021 UTC revision 9301 by zmatsuo, Sat Jun 12 15:26:01 2021 UTC
# Line 38  Line 38 
38  #include <direct.h>  #include <direct.h>
39  #include <ctype.h>  #include <ctype.h>
40  #include <errno.h>  #include <errno.h>
41    #define _CRTDBG_MAP_ALLOC
42    #include <stdlib.h>
43    #include <crtdbg.h>
44    
45  #include "ttlib.h"  #include "ttlib.h"
46  #include "tt_res.h"  #include "tt_res.h"
47  #include "servicenames.h"  #include "servicenames.h"
# Line 183  DWORD GetPrivateProfileStringAFileW(cons Line 187  DWORD GetPrivateProfileStringAFileW(cons
187          if (lenW != 0 && strA[lenA-1] == 0) {          if (lenW != 0 && strA[lenA-1] == 0) {
188                  lenA--;                  lenA--;
189          }          }
190            free(strW);
191          return lenA;          return lenA;
192  }  }
193    
# Line 4373  BOOL WINAPI DllMain(HANDLE hInst, Line 4378  BOOL WINAPI DllMain(HANDLE hInst,
4378                  break;                  break;
4379          case DLL_PROCESS_ATTACH:          case DLL_PROCESS_ATTACH:
4380                  /* do process initialization */                  /* do process initialization */
4381    #ifdef _DEBUG
4382                    _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
4383    #endif
4384                  break;                  break;
4385          case DLL_PROCESS_DETACH:          case DLL_PROCESS_DETACH:
4386                  /* do process cleanup */                  /* do process cleanup */

Legend:
Removed from v.9244  
changed lines
  Added in v.9301

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26