mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
Fix a batch of typos in comments and docs.
This commit is contained in:
parent
f9d0557330
commit
4ecb40a60d
@ -203,7 +203,7 @@ class List234(gdb.Function):
|
||||
|
||||
Arguments are a tree234, and optionally a value type. If no value
|
||||
type is given, the result is a list of the raw void * pointers
|
||||
stored in the tree. Othewise, each one is cast to a pointer to the
|
||||
stored in the tree. Otherwise, each one is cast to a pointer to the
|
||||
value type and dereferenced.
|
||||
|
||||
Due to limitations of GDB's convenience function syntax, the value
|
||||
|
@ -266,7 +266,7 @@ static void argon2_internal(uint32_t p, uint32_t T, uint32_t m, uint32_t t,
|
||||
* that in the initial slice on the first pass, we've already written
|
||||
* values into the first two columns during the initial setup above. So
|
||||
* 'jstart' indicates the starting index in each segment we process; it
|
||||
* starts off as 2 so that we don't overwrite the inital setup, and then
|
||||
* starts off as 2 so that we don't overwrite the initial setup, and then
|
||||
* after the first slice is done, we set it to 0, and it stays there.
|
||||
*
|
||||
* d_mode indicates whether we're being data-dependent (true) or
|
||||
|
@ -1544,7 +1544,7 @@ mp_int *monty_export(MontyContext *mc, mp_int *x)
|
||||
mp_int *monty_pow(MontyContext *mc, mp_int *base, mp_int *exponent)
|
||||
{
|
||||
/*
|
||||
* Modular exponentation is done from the top down, using a
|
||||
* Modular exponentiation is done from the top down, using a
|
||||
* fixed-window technique.
|
||||
*
|
||||
* We have a table storing every power of the base from base^0 up
|
||||
|
@ -614,7 +614,7 @@ This option affects the arrow keys, if you press one with any of the
|
||||
modifier keys Shift, Ctrl or Alt held down.
|
||||
|
||||
\b In the default mode, labelled \c{Ctrl toggles app mode}, the Ctrl
|
||||
key toggles between the default arrow-key sequnces like \c{ESC [A} and
|
||||
key toggles between the default arrow-key sequences like \c{ESC [A} and
|
||||
\c{ESC [B}, and the sequences Digital's terminals generate in
|
||||
\q{application cursor keys} mode, i.e. \c{ESC O A} and so on. Shift
|
||||
and Alt have no effect.
|
||||
@ -1369,7 +1369,7 @@ which one of the options is \q{Paste}). (This context menu is always
|
||||
available by holding down Ctrl and right-clicking, regardless of the
|
||||
setting of this option.)
|
||||
|
||||
(When PuTTY iself is running on Unix, it follows the X Window System
|
||||
(When PuTTY itself is running on Unix, it follows the X Window System
|
||||
convention.)
|
||||
|
||||
\S{config-mouseshift} \q{Shift overrides application's use of mouse}
|
||||
|
@ -327,7 +327,7 @@ struct SftpServerVtable {
|
||||
/*
|
||||
* Handle actual filesystem requests.
|
||||
*
|
||||
* Each of these functions replies by calling an appropiate
|
||||
* Each of these functions replies by calling an appropriate
|
||||
* sftp_reply_foo() function on the given reply packet.
|
||||
*/
|
||||
|
||||
|
@ -1922,7 +1922,7 @@ static void ssh2_transport_gss_update(struct ssh2_transport_state *s,
|
||||
s->gss_status |= GSS_KEX_CAPABLE;
|
||||
|
||||
/*
|
||||
* When rekeying to cascade, avoding doing this too close to the
|
||||
* When rekeying to cascade, avoid doing this too close to the
|
||||
* context expiration time, since the key exchange might fail.
|
||||
*/
|
||||
if (s->gss_ctxt_lifetime < MIN_CTXT_LIFETIME)
|
||||
|
@ -3194,7 +3194,7 @@ static void selection_received(GtkWidget *widget, GtkSelectionData *seldata,
|
||||
text = retrieve_cutbuffer(inst, &length);
|
||||
if (length == 0)
|
||||
return;
|
||||
/* Xterm is rumoured to expect Latin-1, though I havn't checked the
|
||||
/* Xterm is rumoured to expect Latin-1, though I haven't checked the
|
||||
* source, so use that as a de-facto standard. */
|
||||
charset = CS_ISO8859_1;
|
||||
free_required = true;
|
||||
|
@ -615,7 +615,7 @@ void search234_start(search234_state *state, tree234 *t)
|
||||
{
|
||||
state->_node = t->root;
|
||||
state->_base = 0; /* index of first element in this node's subtree */
|
||||
state->_last = -1; /* indicate that this node is not previously visted */
|
||||
state->_last = -1; /* indicate that this node is not previously visited */
|
||||
search234_step(state, 0);
|
||||
}
|
||||
void search234_step(search234_state *state, int direction)
|
||||
|
@ -12,7 +12,7 @@
|
||||
*
|
||||
* Since the jumplist is write-only: it can only be replaced and the
|
||||
* current list cannot be read, we must maintain the contents of the
|
||||
* list persistantly in the registry. The file winstore.h contains
|
||||
* list persistently in the registry. The file winstore.h contains
|
||||
* functions to directly manipulate these registry entries. This file
|
||||
* contains higher level functions to manipulate the jumplist.
|
||||
*/
|
||||
|
@ -4178,7 +4178,7 @@ static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
|
||||
}
|
||||
|
||||
|
||||
/* Nastyness with NUMLock - Shift-NUMLock is left alone though */
|
||||
/* Nastiness with NUMLock - Shift-NUMLock is left alone though */
|
||||
if ((funky_type == FUNKY_VT400 ||
|
||||
(funky_type <= FUNKY_LINUX && term->app_keypad_keys &&
|
||||
!no_applic_k))
|
||||
|
Loading…
Reference in New Issue
Block a user