Browse Subversion Repository
Diff of /trunk/teraterm/ttpcmn/ttcmn.c
Parent Directory
| Revision Log
| Patch
| 51 |
#include "win32helper.h" |
#include "win32helper.h" |
| 52 |
#include "asprintf.h" |
#include "asprintf.h" |
| 53 |
#include "fileread.h" |
#include "fileread.h" |
| 54 |
|
#include "../teraterm/unicode.h" |
| 55 |
|
|
| 56 |
#include "ttcmn_dup.h" |
#include "ttcmn_dup.h" |
| 57 |
|
|
| 169 |
static void ConvertIniFiles(const wchar_t *filelist[], const wchar_t *dir, const wchar_t *date_str) |
static void ConvertIniFiles(const wchar_t *filelist[], const wchar_t *dir, const wchar_t *date_str) |
| 170 |
{ |
{ |
| 171 |
while(1) { |
while(1) { |
| 172 |
|
wchar_t *fname; |
| 173 |
if (*filelist == NULL) { |
if (*filelist == NULL) { |
| 174 |
break; |
break; |
| 175 |
} |
} |
| 176 |
|
|
| 177 |
wchar_t *fname = NULL; |
fname = NULL; |
| 178 |
awcscats(&fname, dir, L"\\", *filelist, NULL); |
awcscats(&fname, dir, L"\\", *filelist, NULL); |
| 179 |
ConvertIniFileCharCode(fname, date_str); |
ConvertIniFileCharCode(fname, date_str); |
| 180 |
free(fname); |
free(fname); |
| 1351 |
TempStr[TempLen++] = mb_char[1]; |
TempStr[TempLen++] = mb_char[1]; |
| 1352 |
} |
} |
| 1353 |
} else if (cv->Language == IdEnglish) { |
} else if (cv->Language == IdEnglish) { |
| 1354 |
TempStr[TempLen++] = u32; |
char byte; |
| 1355 |
|
int part = KanjiCodeToISO8859Part(states->KanjiCode); |
| 1356 |
|
int r = UnicodeToISO8859(part, u32, &byte); |
| 1357 |
|
TempStr[TempLen++] = byte; |
| 1358 |
} else { |
} else { |
| 1359 |
assert(FALSE); |
assert(FALSE); |
| 1360 |
} |
} |
|
|
Legend:
| Removed from v.9584 |
|
| changed lines |
| |
Added in v.9598 |
|
|
| |