| 2524 |
if (Param[2] < 1 || NParam < 2) Param[2]=1; |
if (Param[2] < 1 || NParam < 2) Param[2]=1; |
| 2525 |
if (Param[3] < 1 || NParam < 3) Param[3]=1; |
if (Param[3] < 1 || NParam < 3) Param[3]=1; |
| 2526 |
if (Param[4] < 1 || NParam < 4) Param[4]=1; |
if (Param[4] < 1 || NParam < 4) Param[4]=1; |
| 2527 |
|
if (RelativeOrgMode) { |
| 2528 |
|
Param[1] += CursorTop; |
| 2529 |
|
if (Param[1] > CursorBottom) { |
| 2530 |
|
Param[1] = CursorBottom + 1; |
| 2531 |
|
} |
| 2532 |
|
Param[3] += CursorTop; |
| 2533 |
|
if (Param[3] > CursorBottom) { |
| 2534 |
|
Param[3] = CursorBottom + 1; |
| 2535 |
|
} |
| 2536 |
|
} |
| 2537 |
BuffEraseBox(Param[2]-1, Param[1]-1, Param[4]-1, Param[3]-1); |
BuffEraseBox(Param[2]-1, Param[1]-1, Param[4]-1, Param[3]-1); |
| 2538 |
break; |
break; |
| 2539 |
|
|
| 2542 |
if (Param[2] < 1 || NParam < 2) Param[2]=1; |
if (Param[2] < 1 || NParam < 2) Param[2]=1; |
| 2543 |
if (Param[3] < 1 || NParam < 3) Param[3]=1; |
if (Param[3] < 1 || NParam < 3) Param[3]=1; |
| 2544 |
if (Param[4] < 1 || NParam < 4) Param[4]=1; |
if (Param[4] < 1 || NParam < 4) Param[4]=1; |
| 2545 |
|
if (RelativeOrgMode) { |
| 2546 |
|
Param[1] += CursorTop; |
| 2547 |
|
if (Param[1] > CursorBottom) { |
| 2548 |
|
Param[1] = CursorBottom + 1; |
| 2549 |
|
} |
| 2550 |
|
Param[3] += CursorTop; |
| 2551 |
|
if (Param[3] > CursorBottom) { |
| 2552 |
|
Param[3] = CursorBottom + 1; |
| 2553 |
|
} |
| 2554 |
|
} |
| 2555 |
BuffSelectEraseBox(Param[2]-1, Param[1]-1, Param[4]-1, Param[3]-1); |
BuffSelectEraseBox(Param[2]-1, Param[1]-1, Param[4]-1, Param[3]-1); |
| 2556 |
break; |
break; |
| 2557 |
|
|