mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 12:03:03 -05:00
Update the text format of the public key as the comment box is edited
[originally from svn r989]
This commit is contained in:
parent
83affa4ed9
commit
eee0a20be6
@ -530,6 +530,11 @@ static int CALLBACK MainDlgProc (HWND hwnd, UINT msg,
|
|||||||
sfree(*state->commentptr);
|
sfree(*state->commentptr);
|
||||||
*state->commentptr = smalloc(len+1);
|
*state->commentptr = smalloc(len+1);
|
||||||
GetWindowText(editctl, *state->commentptr, len+1);
|
GetWindowText(editctl, *state->commentptr, len+1);
|
||||||
|
if (state->ssh2) {
|
||||||
|
setupbigedit2(hwnd, IDC_KEYDISPLAY, &state->ssh2key);
|
||||||
|
} else {
|
||||||
|
setupbigedit1(hwnd, IDC_KEYDISPLAY, &state->key);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user