Browse Subversion Repository
Diff of /trunk/teraterm/ttpset/ttset.c
Parent Directory
| Revision Log
| Patch
| 1155 |
_TRUNCATE); |
_TRUNCATE); |
| 1156 |
|
|
| 1157 |
// Viewlog Editor path |
// Viewlog Editor path |
| 1158 |
GetPrivateProfileString(Section, "ViewlogEditor ", "notepad.exe", |
if (GetWindowsDirectory(Temp, sizeof(Temp)) + 13 < sizeof(Temp)) { // "\\notepad.exe"(12) + NUL(1) |
| 1159 |
Temp, sizeof(Temp), FName); |
strncat_s(Temp, sizeof(Temp), "\\notepad.exe", _TRUNCATE); |
| 1160 |
strncpy_s(ts->ViewlogEditor, sizeof(ts->ViewlogEditor), Temp, |
} |
| 1161 |
_TRUNCATE); |
else { |
| 1162 |
|
Temp[0] = '\0'; |
| 1163 |
|
} |
| 1164 |
|
GetPrivateProfileString(Section, "ViewlogEditor ", Temp, |
| 1165 |
|
ts->ViewlogEditor, sizeof(ts->ViewlogEditor), FName); |
| 1166 |
|
|
| 1167 |
// Locale for UTF-8 |
// Locale for UTF-8 |
| 1168 |
GetPrivateProfileString(Section, "Locale ", DEFAULT_LOCALE, |
GetPrivateProfileString(Section, "Locale ", DEFAULT_LOCALE, |
|
|
Legend:
| Removed from v.4084 |
|
| changed lines |
| |
Added in v.4198 |
|
|
| |