This commit is contained in:
chombier 2001-05-23 12:37:39 +00:00
parent dd4b979ade
commit 9a0fa8577c
3 changed files with 5 additions and 10 deletions

View File

@ -2045,12 +2045,7 @@ void VTsendstat( void )
void VTsendident( void )
{
short sn = findbyVS(VSIwn);
if ( sn < 0 )
return;
if (screens[sn].vtemulation)
if (VSIw->vtemulation)
//RSsendstring(VSIwn, "\033[?62;1;6c", 10); // VT200-series
RSsendstring(VSIwn, "\033[?62;1;2;6;7;8c", 16); // VT200-series
else

View File

@ -953,7 +953,7 @@ void SaveSet(short doSaveMacros, short dontSaveTitle)
if (doSaveMacros) {
// save all macros
for (i = 0; i < 110; i++) {
for (i = 0; i < NUM_MACROS; i++) {
getmacro(&TelInfo->newMacros, i, temp, sizeof(temp));
if (*temp) {
sprintf(temp2, "%d %s", i, temp);
@ -1127,7 +1127,7 @@ void SaveSetFromSession(SessionPrefs* setSession, TerminalPrefs* setTerminal, sh
if (doSaveMacros) {
// save all macros
for (i = 0; i < 110; i++) {
for (i = 0; i < NUM_MACROS; i++) {
getmacro(&TelInfo->newMacros, i, temp, sizeof(temp));
if (*temp) {
sprintf(temp2, "%d %s", i, temp);

View File

@ -1864,8 +1864,8 @@ void HandleMenuCommand( long mResult, short modifiers)
switchintranslation(&screens[scrn], theItem-1, 0);
switchouttranslation(&screens[scrn], theItem-1, 0);
// and redraw the screen
VSredraw(screens[scrn].vs,0,0,VSmaxwidth(screens[scrn].vs),VSgetlines(screens[scrn].vs)-1); /* LU */
screens[scrn].outnational = theItem-1;
//VSredraw(screens[scrn].vs,0,0,VSmaxwidth(screens[scrn].vs),VSgetlines(screens[scrn].vs)-1); /* LU */
//screens[scrn].outnational = theItem-1;
}
break;
case keyMenu: