Browse Source

Typos

Source commit: 50cfe62c60c64f4ac309dbee876c1072a493d61c
Martin Prikryl 8 years ago
parent
commit
c2cc4d0dd2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      source/core/PuttyIntf.cpp
  2. 1 1
      source/core/SecureShell.cpp

+ 1 - 1
source/core/PuttyIntf.cpp

@@ -268,7 +268,7 @@ int askhk(void * /*frontend*/, const char * /*algname*/, const char * /*betteral
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 void old_keyfile_warning(void)
 void old_keyfile_warning(void)
 {
 {
-  // no reference to TSecureShell instace available
+  // no reference to TSecureShell instance available
 }
 }
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 void display_banner(void * frontend, const char * banner, int size)
 void display_banner(void * frontend, const char * banner, int size)

+ 1 - 1
source/core/SecureShell.cpp

@@ -141,7 +141,7 @@ Conf * __fastcall TSecureShell::StoreToConfig(TSessionData * Data, bool Simple)
   #define CONF_DEF_STR_NONE(KEY) conf_set_str(conf, KEY, "");
   #define CONF_DEF_STR_NONE(KEY) conf_set_str(conf, KEY, "");
   // noop, used only for these and we set the first four explicitly below and latter two are not used in our code
   // noop, used only for these and we set the first four explicitly below and latter two are not used in our code
   #define CONF_DEF_INT_INT(KEY) DebugAssert((KEY == CONF_ssh_cipherlist) || (KEY == CONF_ssh_kexlist) || (KEY == CONF_ssh_gsslist) || (KEY == CONF_ssh_hklist) || (KEY == CONF_colours) || (KEY == CONF_wordness));
   #define CONF_DEF_INT_INT(KEY) DebugAssert((KEY == CONF_ssh_cipherlist) || (KEY == CONF_ssh_kexlist) || (KEY == CONF_ssh_gsslist) || (KEY == CONF_ssh_hklist) || (KEY == CONF_colours) || (KEY == CONF_wordness));
-  // noop, used only for these three and they all can handle undef value
+  // noop, used only for these four and they all can handle undef value
   #define CONF_DEF_STR_STR(KEY) DebugAssert((KEY == CONF_ttymodes) || (KEY == CONF_portfwd) || (KEY == CONF_environmt) || (KEY == CONF_ssh_manual_hostkeys));
   #define CONF_DEF_STR_STR(KEY) DebugAssert((KEY == CONF_ttymodes) || (KEY == CONF_portfwd) || (KEY == CONF_environmt) || (KEY == CONF_ssh_manual_hostkeys));
   // noop, not used in our code
   // noop, not used in our code
   #define CONF_DEF_FONT_NONE(KEY) DebugAssert((KEY == CONF_font) || (KEY == CONF_boldfont) || (KEY == CONF_widefont) || (KEY == CONF_wideboldfont));
   #define CONF_DEF_FONT_NONE(KEY) DebugAssert((KEY == CONF_font) || (KEY == CONF_boldfont) || (KEY == CONF_widefont) || (KEY == CONF_wideboldfont));