Browse Subversion Repository
Diff of /trunk/teraterm/ttpset/ttset.c
Parent Directory
| Revision Log
| Patch
| 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" |
| 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 |
|
|
| 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 |
|
|
|