projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various bug/warning fixes from Jacob
[u/mdw/putty]
/
windlg.c
diff --git
a/windlg.c
b/windlg.c
index
84674a7
..
d6fce02
100644
(file)
--- a/
windlg.c
+++ b/
windlg.c
@@
-3,6
+3,7
@@
#include <commdlg.h>
#include <stdio.h>
#include <stdlib.h>
#include <commdlg.h>
#include <stdio.h>
#include <stdlib.h>
+#include <ctype.h>
#include "ssh.h"
#include "putty.h"
#include "ssh.h"
#include "putty.h"
@@
-1968,8
+1969,6
@@
static int GenericMainDlgProc (HWND hwnd, UINT msg,
static int CALLBACK MainDlgProc (HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam) {
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) {
if (msg == WM_COMMAND && LOWORD(wParam) == IDOK) {
}
if (msg == WM_COMMAND && LOWORD(wParam) == IDCX_ABOUT) {
@@
-1984,7
+1983,6
@@
static int CALLBACK MainDlgProc (HWND hwnd, UINT msg,
static int CALLBACK ReconfDlgProc (HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam) {
static int CALLBACK ReconfDlgProc (HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam) {
- static HWND page;
return GenericMainDlgProc (hwnd, msg, wParam, lParam, 1);
}
return GenericMainDlgProc (hwnd, msg, wParam, lParam, 1);
}