Browse Subversion Repository
Diff of /trunk/teraterm/ttpset/ttset.c
Parent Directory
| Revision Log
| Patch
| 575 |
Temp, sizeof(Temp), FName); |
Temp, sizeof(Temp), FName); |
| 576 |
GetNthNum(Temp, 1, &ts->TerminalWidth); |
GetNthNum(Temp, 1, &ts->TerminalWidth); |
| 577 |
GetNthNum(Temp, 2, &ts->TerminalHeight); |
GetNthNum(Temp, 2, &ts->TerminalHeight); |
| 578 |
if (ts->TerminalWidth < 0) |
if (ts->TerminalWidth <= 0) |
| 579 |
ts->TerminalWidth = 1; |
ts->TerminalWidth = 80; |
| 580 |
if (ts->TerminalHeight < 0) |
else if (ts->TerminalWidth > TermWidthMax) |
| 581 |
ts->TerminalHeight = 1; |
ts->TerminalWidth = TermWidthMax; |
| 582 |
|
if (ts->TerminalHeight <= 0) |
| 583 |
|
ts->TerminalHeight = 24; |
| 584 |
|
else if (ts->TerminalHeight > TermHeightMax) |
| 585 |
|
ts->TerminalHeight = TermHeightMax; |
| 586 |
|
|
| 587 |
/* Terminal size = Window size */ |
/* Terminal size = Window size */ |
| 588 |
ts->TermIsWin = GetOnOff(Section, "TermIsWin", FName, FALSE); |
ts->TermIsWin = GetOnOff(Section, "TermIsWin", FName, FALSE); |
|
|
Legend:
| Removed from v.6768 |
|
| changed lines |
| |
Added in v.6784 |
|
|
| |