Merge cosmetic and docs fixes from 'pre-0.78'.
This commit is contained in:
commit
61b3cde507
6 changed files with 38 additions and 22 deletions
|
@ -3681,6 +3681,7 @@ SeatPromptResult gtk_seat_confirm_ssh_host_key(
|
|||
/* We have to manually wrap the public key, or else the GtkLabel
|
||||
* will resize itself to accommodate the longest word, which will
|
||||
* lead to a hilariously wide message box. */
|
||||
put_byte(moreinfo, ':');
|
||||
for (const char *p = item->text, *q = p + strlen(p); p < q ;) {
|
||||
size_t linelen = q-p;
|
||||
if (linelen > 72)
|
||||
|
@ -3689,6 +3690,7 @@ SeatPromptResult gtk_seat_confirm_ssh_host_key(
|
|||
put_data(moreinfo, p, linelen);
|
||||
p += linelen;
|
||||
}
|
||||
put_byte(moreinfo, '\n');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue