static void option_side_effects(struct Opt *o, int enabled) {
if (o->option == TELOPT_ECHO && o->send == DO)
echoing = !enabled;
- else if (o->option = TELOPT_SGA && o->send == DO)
+ else if (o->option == TELOPT_SGA && o->send == DO)
editing = !enabled;
ldisc_send(NULL, 0); /* cause ldisc to notice the change */
}
#include <commdlg.h>
#include <stdio.h>
#include <stdlib.h>
+#include <ctype.h>
#include "ssh.h"
#include "putty.h"
static int CALLBACK MainDlgProc (HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam) {
- static HWND page = NULL;
-
if (msg == WM_COMMAND && LOWORD(wParam) == IDOK) {
}
if (msg == WM_COMMAND && LOWORD(wParam) == IDCX_ABOUT) {
static int CALLBACK ReconfDlgProc (HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam) {
- static HWND page;
return GenericMainDlgProc (hwnd, msg, wParam, lParam, 1);
}