projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Gareth pointed out yesterday that the Unix terminal front end treats
[u/mdw/putty]
/
windows
/
wincfg.c
diff --git
a/windows/wincfg.c
b/windows/wincfg.c
index
6a970a7
..
bc6102d
100644
(file)
--- a/
windows/wincfg.c
+++ b/
windows/wincfg.c
@@
-31,7
+31,7
@@
static void help_handler(union control *ctrl, void *dlg,
}
void win_setup_config_box(struct controlbox *b, HWND *hwndp, int has_help,
}
void win_setup_config_box(struct controlbox *b, HWND *hwndp, int has_help,
- int midsession)
+ int midsession
, int protocol
)
{
struct controlset *s;
union control *c;
{
struct controlset *s;
union control *c;
@@
-371,4
+371,10
@@
void win_setup_config_box(struct controlbox *b, HWND *hwndp, int has_help,
}
}
}
}
}
}
+
+ /*
+ * Serial back end is available on Windows.
+ */
+ if (!midsession || (protocol == PROT_SERIAL))
+ ser_setup_config_box(b, midsession, 0x1F, 0x0F);
}
}